Skip to content

Commit d7c2b5f

Browse files
committed
Update CI/CD workflow
1 parent f6005e5 commit d7c2b5f

3 files changed

Lines changed: 406 additions & 446 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
id-token: write
15+
1116
steps:
1217
- name: Checkout Code
1318
uses: actions/checkout@v4
@@ -24,8 +29,5 @@ jobs:
2429
- name: Build
2530
run: npm run build
2631

27-
- name: Check version and publish
28-
uses: JS-DevTools/npm-publish@v3
29-
with:
30-
token: ${{ secrets.NPM_TOKEN }}
31-
access: public
32+
- name: Publish to npm
33+
run: npm publish --access public

0 commit comments

Comments
 (0)