We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16f05a7 commit 4a590a5Copy full SHA for 4a590a5
1 file changed
.github/workflows/publish.yml
@@ -7,18 +7,19 @@ on:
7
jobs:
8
publish-npm:
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ id-token: write
13
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-node@v3
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
with:
- node-version: 14
17
+ node-version: 24
18
registry-url: https://registry.npmjs.org/
19
cache: npm
20
- run: npm ci
21
- run: npm test
22
- run: npm version ${TAG_NAME} --git-tag-version=false
23
env:
24
TAG_NAME: ${{ github.event.release.tag_name }}
- - run: npm whoami; npm --ignore-scripts publish
- env:
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
25
+ - run: npm --ignore-scripts publish --provenance
0 commit comments