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 78d86a7 commit 23a1521Copy full SHA for 23a1521
.github/workflows/npm-publish.yml
@@ -5,22 +5,27 @@ on:
5
tags:
6
- v*
7
8
+permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: read
11
+
12
jobs:
13
Publish:
- runs-on: ubuntu-24.04
14
+ runs-on: ubuntu-latest
15
16
steps:
17
- name: Checkout
- uses: actions/checkout@v3
18
+ uses: actions/checkout@v4
19
20
- name: Setup Node.js
- uses: actions/setup-node@v3
21
+ uses: actions/setup-node@v4
22
with:
- node-version: '18.x'
23
+ node-version: '18'
24
registry-url: 'https://registry.npmjs.org'
25
26
- name: Install and Build
27
run: |
28
+ npm install -g npm@latest
29
npm ci
30
npm run build
31
@@ -33,5 +38,3 @@ jobs:
33
38
34
39
- name: Publish on NPM
35
40
run: npm publish
36
- env:
37
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments