We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f7086 commit 2e5041cCopy full SHA for 2e5041c
.github/workflows/publish.yml
@@ -2,18 +2,18 @@ name: Publish Package to npmjs
2
on:
3
release:
4
types: [published]
5
+permissions:
6
+ id-token: write
7
+ contents: read
8
jobs:
9
build:
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v3
- # Setup .npmrc file to publish to npm
13
- uses: actions/setup-node@v3
14
with:
- node-version: '20.x'
15
+ node-version: '24.x'
16
registry-url: 'https://registry.npmjs.org'
17
- run: yarn
18
- run: yarn build
19
- run: npm publish
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments