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

View File

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