Skip to content

Commit

Permalink
ci: use bun
Browse files Browse the repository at this point in the history
  • Loading branch information
OXeu committed Jul 9, 2024
1 parent a154c65 commit 5ef426f
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,17 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- uses: pnpm/action-setup@v3 # pnpm is optional but recommended, you can also use npm / yarn
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Set up Bun
uses: oven-sh/setup-bun@v1

- name: Setup Pages
uses: actions/configure-pages@v5
- name: Install dependencies
run: pnpm install
run: bun install
- name: Build with Rspress
run: |
pnpm run build
bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 5ef426f

Please sign in to comment.