Skip to content

Commit

Permalink
fix: use bun to deploy to github pages (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashlsun authored Jul 7, 2024
1 parent 45ac2e6 commit 85b6f29
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Set up Bun
- uses: oven-sh/setup-bun@v1

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

- name: build
env:
BASE_PATH: '/${{ github.event.repository.name }}'
run: |
npm run build
bun build
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 85b6f29

Please sign in to comment.