From aa2dd2613d3b99b950351337902aa6134e7ed989 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sat, 13 Jul 2024 11:00:46 +0200 Subject: [PATCH] Revert "chore: publish to npm with `--provenance` (#520)" This reverts commit 1828961d8113d66cbbe0eecf206a0b0492c67cd3. --- .github/workflows/publish.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 554f95b38..4c1c52494 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,15 +44,14 @@ jobs: restore-keys: | ${{runner.os}}-yarn- - - run: corepack yarn install --immutable - - - run: corepack yarn pack --out corepack.tgz - - name: Publish to the npm registry - run: npm publish corepack.tgz --provenance + run: | + corepack yarn install --immutable + corepack yarn npm publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + YARN_NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - run: corepack yarn pack --out corepack.tgz - name: Add Corepack package archive to GitHub release run: gh release upload ${{ needs.release-please.outputs.release_tag }} corepack.tgz env: