We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b06812 commit f448dc4Copy full SHA for f448dc4
1 file changed
.github/workflows/publish.yml
@@ -2,6 +2,7 @@ name: Publish
2
permissions:
3
contents: read
4
packages: write
5
+ id-token: write # Required for OIDC
6
7
on:
8
release:
@@ -12,7 +13,7 @@ jobs:
12
13
runs-on: ubuntu-22.04
14
steps:
15
- uses: actions/checkout@v3
- - uses: actions/setup-node@v3
16
+ - uses: actions/setup-node@v4
17
with:
18
node-version: 20
19
registry-url: https://registry.npmjs.org/
@@ -22,6 +23,4 @@ jobs:
22
23
- run: npm version ${TAG_NAME} --git-tag-version=false
24
env:
25
TAG_NAME: ${{ github.event.release.tag_name }}
- - run: npm whoami; npm --ignore-scripts publish
26
- env:
27
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
+ - run: npm --ignore-scripts publish
0 commit comments