Skip to content

Commit

Permalink
chore: avoid conflict with bun in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 committed Apr 21, 2024
1 parent 8488c7f commit 1770a72
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,23 @@ jobs:
token: ${{ secrets.API_TOKEN_GITHUB }}
- uses: oven-sh/setup-bun@v1

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 20

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

- name: Install dependencies
run: pnpm install
- uses: Install turbo globally
run: pnpm install -g turbo

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

- name: Apply version changes to packages
run: pnpm run changeset:version
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ coverage/
packages/api/preserve/**
.turbo

pnpm-*.yaml
pnpm-lock.yaml
*.tsbuildinfo
*.log
*.env
Expand Down
5 changes: 5 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
packages:
- "packages/**"
- "services/**"
- "apps/**"
- "!packages/create-guilded-app/templates/**"

0 comments on commit 1770a72

Please sign in to comment.