feat(action): Add initial action
This commit is contained in:
commit
fe68950f3c
24
action.yml
Normal file
24
action.yml
Normal file
@ -0,0 +1,24 @@
|
||||
name: "Semantic Release"
|
||||
description: "Automatically creates semantic releases"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
- name: Install dependencies
|
||||
run: npm install semantic-release @saithodev/semantic-release-gitea
|
||||
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
|
||||
run: npm audit signatures
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: npx semantic-release
|
||||
|
Loading…
Reference in New Issue
Block a user