Fix broken gh-pages sqlite3 dependency with Bun
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# https://github.com/actions/starter-workflows/blob/main/pages/nuxtjs.yml
|
||||
#
|
||||
# Sample workflow for building and deploying a Nuxt site to GitHub Pages
|
||||
#
|
||||
# To get started with Nuxt see: https://nuxtjs.org/docs/get-started/installation
|
||||
@@ -31,12 +33,18 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
# - name: Setup Bun
|
||||
# uses: oven-sh/setup-bun@v2
|
||||
# with:
|
||||
# bun-version: latest
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
bun-version: latest
|
||||
node-version: "20"
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
# run: bun install
|
||||
run: npm ci
|
||||
- name: Static HTML export with Nuxt
|
||||
run: NUXT_APP_BASE_URL="/${{ github.event.repository.name }}/" bun run generate
|
||||
- name: Create .nojekyll file
|
||||
|
||||
Reference in New Issue
Block a user