Skip to content

Commit

Permalink
chore: use pnpm and changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
hxg2050 committed Mar 12, 2024
1 parent 5fbf6e5 commit 51aeba1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install pnpm -g
- run: pnpm install
- uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm run publish
commit: '[ci] release'
title: '[ci] release'
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install pnpm -g
- run: pnpm install
- uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm run publish
commit: '[ci] release'
title: '[ci] release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 51aeba1

Please sign in to comment.