We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c172a commit 8fb126aCopy full SHA for 8fb126a
.github/workflows/npm-publish.yml
@@ -1,5 +1,7 @@
1
name: Npm.js deploy
2
+
3
permissions:
4
+ id-token: write
5
contents: read
6
7
on:
@@ -16,6 +18,10 @@ jobs:
16
18
node-version: '22'
17
19
cache: 'npm'
20
registry-url: 'https://registry.npmjs.org'
21
22
+ - name: Update NPM
23
+ run: npm install -g npm@latest
24
25
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
26
- run: echo ${VERSION}
27
@@ -36,5 +42,3 @@ jobs:
36
42
- name: Publish the package
37
43
run: npm publish --tag ${NPM_TAG}
38
44
working-directory: dist
39
- env:
40
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments