We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c923754 commit 7916229Copy full SHA for 7916229
.github/workflows/npm-publish.yml
@@ -3,6 +3,12 @@ on:
3
release:
4
types:
5
- published
6
+
7
+# Trusted publishing configuration. See https://docs.npmjs.com/trusted-publishers
8
+permissions:
9
+ id-token: write
10
+ contents: read
11
12
jobs:
13
build-and-publish-package:
14
runs-on: ubuntu-latest
@@ -12,13 +18,11 @@ jobs:
18
- name: Setup Nodejs
19
uses: actions/setup-node@v4
20
with:
15
- node-version: '16'
21
+ node-version: '24'
16
22
registry-url: 'https://registry.npmjs.org'
17
23
- name: Install
24
run: yarn install --immutable
25
- name: Build
26
run: yarn build
27
- name: Publish package
28
run: npm publish --access public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments