Skip to content

Commit

Permalink
ci: enable provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Nov 3, 2023
1 parent fcdc2c0 commit 840ad02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v6
Expand All @@ -32,6 +34,9 @@ jobs:
needs: test
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'recap-utr' && github.event_name == 'push' }}
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v6
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@
"files": [
"dist"
],
"exports": "./dist/index.js"
"exports": "./dist/index.js",
"publishConfig": {
"access": "public",
"provenance": true
}
}

0 comments on commit 840ad02

Please sign in to comment.