Skip to content

Commit

Permalink
chore: fix the github workflow of publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
credred committed May 26, 2022
1 parent 49bce94 commit 0fa93ca
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ jobs:
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'
- run: pnpm install

- name: Install pnpm
uses: pnpm/[email protected]
id: pnpm-install
with:
version: 7
run_install: false

- name: Install dependencies
run: pnpm install

- run: npm run build
- run: npm publish --access public
env:
Expand Down

0 comments on commit 0fa93ca

Please sign in to comment.