Skip to content

Commit

Permalink
use bun properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsandersen committed Mar 30, 2024
1 parent 47d92b1 commit 9277883
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "bun"

- name: Restore cache
uses: actions/cache@v3
with:
path: |
dist
.nuxt
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }}
restore-keys: |
${{ runner.os }}-nuxt-build-
- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: bun install

- name: Static HTML export with Nuxt
run: bun generate
run: bun run generate

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit 9277883

Please sign in to comment.