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