ci: publish edge release with provenance

This commit is contained in:
Daniel Roe 2023-04-20 20:55:06 +01:00
parent 607bfdcfef
commit ec1503731b
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,8 @@ jobs:
TEST_PAYLOAD: ${{ matrix.payload }}
build-release:
permissions:
id-token: write
if: |
github.event_name == 'push' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
@ -226,3 +228,4 @@ jobs:
run: ./scripts/release-edge.sh
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NPM_CONFIG_PROVENANCE: true