We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a2576e commit dc8c3c5Copy full SHA for dc8c3c5
1 file changed
.github/workflows/cd.yml
@@ -5,6 +5,10 @@ on:
5
# push:
6
# branches: [ master ]
7
8
+permissions:
9
+ id-token: write # Required for OIDC
10
+ contents: read
11
+
12
jobs:
13
publish:
14
runs-on: ubuntu-latest
@@ -14,11 +18,12 @@ jobs:
18
with:
15
19
node-version: 18.x
16
20
registry-url: https://registry.npmjs.org/
21
+ # Ensure npm 11.5.1 or later is installed
22
+ - name: Update npm
23
+ run: npm install -g npm@latest
17
24
- run: npm ci
25
- run: npm test
26
- run: npm publish
- env:
- NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
27
- uses: sergeysova/jq-action@v2
28
name: Derive Version
29
id: version
0 commit comments