We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c765300 commit 5e8e329Copy full SHA for 5e8e329
1 file changed
.github/workflows/npm_publish.yml
@@ -5,12 +5,13 @@ on:
5
- 'v*'
6
workflow_dispatch:
7
8
+permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: read
11
+
12
jobs:
13
build-and-publish:
14
runs-on: ubuntu-24.04
- permissions:
- contents: read
- id-token: write
15
steps:
16
- uses: actions/checkout@v4
17
- uses: dtolnay/rust-toolchain@stable
@@ -22,9 +23,11 @@ jobs:
22
23
run: ./scripts/build.sh
24
- uses: actions/setup-node@v4
25
with:
26
+ node-version: 'lts/*'
27
registry-url: 'https://registry.npmjs.org'
28
+ # Ensure npm 11.5.1 or later is installed
29
+ - name: Update npm
30
+ run: sudo npm install -g npm@latest
31
- name: Publish to npm
32
working-directory: ./web-client/dist
- run: npm publish --provenance
- env:
- NODE_AUTH_TOKEN: ${{ secrets.SISOU_NPM_TOKEN }}
33
+ run: npm publish
0 commit comments