We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 145da63 commit 24ca8d1Copy full SHA for 24ca8d1
.github/workflows/publish.yml
@@ -6,17 +6,19 @@ on:
6
release:
7
types: [published]
8
9
+permissions:
10
+ id-token: write # Required for OIDC
11
+ contents: read
12
+
13
jobs:
14
build-and-publish:
15
runs-on: ubuntu-latest
16
steps:
17
- uses: actions/checkout@v3
18
- uses: actions/setup-node@v3
19
with:
- node-version: '16.x'
20
+ node-version: '24'
21
registry-url: 'https://registry.npmjs.org'
22
- run: npm install
23
- run: npm run build
24
- run: npm publish dist/ --access=public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments