Skip to content

Commit 26ef38d

Browse files
committed
feat: Update GitHub Actions workflow usage
The GitHub Actions workflow has been updated to use the updated versions of actions/checkout and actions/setup-node. The script to run semantic release has also been changed from 'npx semantic-release' to 'npm run semantic-release'. These changes aim to enhance the stability and compatibility of the pipeline.
1 parent 11f7f0b commit 26ef38d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
id-token: write # to enable use of OIDC for npm provenance
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout
2222
with:
2323
fetch-depth: 0
2424
- name: Setup Node.js
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node
2626
with:
2727
node-version: "lts/*"
2828
- name: Install dependencies
@@ -33,4 +33,4 @@ jobs:
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36-
run: npx semantic-release
36+
run: npm run semantic-release

0 commit comments

Comments
 (0)