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