Skip to content

Commit

Permalink
ci: enable provenance for edge releases
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 24, 2023
1 parent 6cc36f5 commit 0f91db9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ jobs:
run: pnpm test:fixtures:webpack:dev

build-release:
permissions:
id-token: write
if: |
github.event_name == 'push' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
Expand All @@ -133,7 +135,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
node: [18]

steps:
- uses: actions/checkout@v3
Expand All @@ -156,3 +158,4 @@ jobs:
run: ./scripts/release-edge.sh
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NPM_CONFIG_PROVENANCE: true

0 comments on commit 0f91db9

Please sign in to comment.