Skip to content

Commit

Permalink
chore: revert back to publishing with pnpm
Browse files Browse the repository at this point in the history
Signed-off-by: djamaile <rdjamaile@gmail.com>
  • Loading branch information
djamaile committed Oct 24, 2023
1 parent 2226350 commit 5ea68d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,13 @@ jobs:
# tests being run in-band alongside setting a memory limit.
run: pnpm test -- --maxWorkers=2

- name: Set publishing config
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: publish
run: |
echo "npmAuthToken=${{secrets.NPM_TOKEN}}" >> .npmrc
pnpm npm publish --access public --tolerate-republish
pnpm publish --access=public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5ea68d0

Please sign in to comment.