We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e632af commit f63354dCopy full SHA for f63354d
1 file changed
.github/workflows/ci.yml
@@ -10,14 +10,17 @@ on:
10
jobs:
11
ci:
12
runs-on: ubuntu-latest
13
+ permissions:
14
+ content: read
15
+ id-token: write
16
steps:
17
- name: Checkout
18
uses: actions/checkout@v4
19
20
- name: Setup NodeJS
21
uses: actions/setup-node@v4
22
with:
- node-version: '14'
23
+ node-version: 20
24
registry-url: https://registry.npmjs.org
25
26
- name: Installing Dependencies
@@ -33,15 +36,5 @@ jobs:
33
36
run: npm run test
34
37
35
38
- name: Publish NPM
- uses: JS-DevTools/npm-publish@v4
39
if: startsWith(github.ref, 'refs/tags/')
- with:
- access: public
40
- registry: https://npm.pkg.github.com
41
-
42
- - name: Publish GitHub
43
44
- if: startsWith(github.ref, 'refs/tags/')
45
46
47
+ run: npm publish --provenance
0 commit comments