Skip to content

Commit

Permalink
ci: enable npm provenance in release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Ardalan Amini <ardalanamini22@gmail.com>
  • Loading branch information
ardalanamini committed Sep 16, 2023
1 parent 0060ae2 commit a71f54c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
name: npm
url: https://www.npmjs.com/package/eslint-config-noir

permissions:
contents: read
id-token: write

runs-on: ubuntu-latest

needs:
Expand Down Expand Up @@ -95,6 +99,7 @@ jobs:
permissions:
contents: read
packages: write
id-token: write

runs-on: ubuntu-latest

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-node": "^11.1.0",
"typescript": "^5.2.2"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}

0 comments on commit a71f54c

Please sign in to comment.