Skip to content

Commit

Permalink
Revert "chore: publish to npm with --provenance (#520)" (#530)
Browse files Browse the repository at this point in the history
This reverts commit 1828961.
  • Loading branch information
aduh95 authored Jul 13, 2024
1 parent b498551 commit 72c2951
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 72c2951

Please sign in to comment.