Skip to content

Commit

Permalink
chore: use pnpm for publish again
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 authored Apr 21, 2024
1 parent 7158c2c commit 8488c7f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@ jobs:
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
- uses: oven-sh/setup-bun@v1

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8.6.3
run_install: false

- name: Install dependencies
run: bun install
run: pnpm install

- name: Build packages
run: bun run build
run: pnpm run build

- name: Apply version changes to packages
run: bun run changeset:version
run: pnpm run changeset:version

- name: Commit package.json changes
uses: EndBug/add-and-commit@v9
Expand All @@ -31,7 +38,7 @@ jobs:
push: true

- name: Recursive Release
run: bun turbo run release --continue
run: pnpm recursive publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit 8488c7f

Please sign in to comment.