Skip to content

Commit e6b668c

Browse files
committed
fix: CI
1 parent 8b310ed commit e6b668c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci_publish.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@ on:
44
release:
55
types: [published]
66

7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
711
jobs:
812
ci_publish:
913
runs-on: ubuntu-latest
1014
steps:
1115
- name: Checkout sources
1216
uses: actions/checkout@v3
1317

14-
- name: Setup node
15-
uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
1619
with:
17-
node-version: 19
18-
registry-url: https://registry.npmjs.org/
20+
node-version: '24'
21+
registry-url: 'https://registry.npmjs.org'
1922

2023
- name: Install dependencies
2124
run: npm clean-install
@@ -30,8 +33,6 @@ jobs:
3033
run: npm run build
3134

3235
- name: Publish
33-
env:
34-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3536
run: npm publish --access public
3637

3738
- name: Login to DockerHub

0 commit comments

Comments
 (0)