From 92778836ce386220119142f40a1381682c983d81 Mon Sep 17 00:00:00 2001 From: Jacob Andersen <19645494+simpleauthority@users.noreply.github.com> Date: Sat, 30 Mar 2024 16:52:24 -0700 Subject: [PATCH] use bun properly --- .github/workflows/deploy.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ee7dd58..715cb0f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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