Skip to content

Commit 0c084e2

Browse files
committed
update ci
1 parent 0a8f493 commit 0c084e2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v6
1313
with:
1414
persist-credentials: false
1515

1616
- name: Install Node.JS
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@v6
1818
with:
1919
cache: 'yarn'
2020
node-version-file: '.tool-versions'
@@ -33,16 +33,19 @@ jobs:
3333
needs: test
3434
if: startsWith(github.ref, 'refs/tags/')
3535
runs-on: ubuntu-latest
36+
permissions:
37+
id-token: write
38+
contents: read
3639
env:
3740
NODE_ENV: production
3841
steps:
3942
- name: Checkout
40-
uses: actions/checkout@v4
43+
uses: actions/checkout@v6
4144
with:
4245
persist-credentials: false
4346

4447
- name: Install Node.JS
45-
uses: actions/setup-node@v4
48+
uses: actions/setup-node@v6
4649
with:
4750
cache: 'yarn'
4851
registry-url: 'https://registry.npmjs.org'
@@ -62,5 +65,3 @@ jobs:
6265
6366
- name: Publish packages 🚀
6467
run: yarn npm publish
65-
env:
66-
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)