Skip to content

Commit

Permalink
chore: adjust publish workflow (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsANameToo authored Aug 17, 2022
1 parent 5a621eb commit ce00675
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: pnpm

- name: Install dependencies
Expand All @@ -39,6 +40,6 @@ jobs:
run: pnpm build

- name: Publish to NPM
run: npm publish --access=public --publish-branch=main
run: npm publish --access=public --publish-branch=master
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit ce00675

Please sign in to comment.