Skip to content

Commit cdeb3b9

Browse files
authored
Merge pull request #198 from secvisogram/fix-npm-publish
chore: use latest npm version while publishing
2 parents a5e9465 + 37df45b commit cdeb3b9

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
types: [created]
99

1010
permissions:
11+
id-token: write
1112
contents: read
1213
actions: read
1314

@@ -35,9 +36,7 @@ jobs:
3536
- uses: actions/checkout@v4
3637
- uses: actions/setup-node@v4
3738
with:
38-
node-version: 20
39+
node-version: 24
3940
registry-url: https://registry.npmjs.org/
4041
- run: npm ci
4142
- run: npm publish
42-
env:
43-
NPM_TOKEN: ${{secrets.npm_token}}

.npmrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"csaf-validator-service",
2424
"secvisogram"
2525
],
26+
"repository": {
27+
"url": "https://github.com/secvisogram/csaf-validator-service"
28+
},
2629
"publishConfig": {
2730
"access": "public"
2831
},

0 commit comments

Comments
 (0)