From 0f91db9da3bd5bd152dd893e291273e0e59185f0 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 24 Apr 2023 20:49:13 +0100 Subject: [PATCH] ci: enable provenance for edge releases --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f40e453..021ed638 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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]') && @@ -133,7 +135,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16] + node: [18] steps: - uses: actions/checkout@v3 @@ -156,3 +158,4 @@ jobs: run: ./scripts/release-edge.sh env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} + NPM_CONFIG_PROVENANCE: true