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 599c619 commit 18a354aCopy full SHA for 18a354a
.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,7 +18,7 @@ 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
@@ -22,8 +28,6 @@ jobs:
28
NODE_ENV: production
29
- name: Publish package
30
run: npm publish --access public
25
- env:
26
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27
31
deploy-website:
32
name: Deploy website
33
uses: ./.github/workflows/deploy.yml
0 commit comments