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 d7269cc commit 1f24fedCopy full SHA for 1f24fed
.github/workflows/npm-publish.yml
@@ -4,6 +4,10 @@ on:
4
release:
5
types: [published]
6
7
+permissions:
8
+ id-token: write
9
+ contents: read
10
+
11
jobs:
12
publish:
13
runs-on: ubuntu-latest
@@ -13,8 +17,7 @@ jobs:
17
with:
14
18
node-version: 20
15
19
registry-url: "https://registry.npmjs.org"
20
+ - run: npm update -g npm@latest
16
21
- run: npm ci
22
- run: npm run test
23
- run: npm publish --access=public
- env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_RELEASE_TOKEN}}
0 commit comments