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,14 +33,21 @@ 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
|
||||
# run: NUXT_APP_BASE_URL="/${{ github.event.repository.name }}/" bun run generate
|
||||
run: NUXT_APP_BASE_URL="/${{ github.event.repository.name }}/" npm run generate
|
||||
- name: Create .nojekyll file
|
||||
run: touch ./dist/.nojekyll
|
||||
- name: Upload artifact
|
||||
|
||||
Generated
+12307
File diff suppressed because it is too large
Load Diff
+3
-4
@@ -10,7 +10,7 @@
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pinia/nuxt": "^0.7.0",
|
||||
"@pinia/nuxt": "^0.10.1",
|
||||
"@primevue/forms": "^4.2.3",
|
||||
"@primevue/themes": "^4.2.3",
|
||||
"nuxt": "^3.14.1592",
|
||||
@@ -23,13 +23,12 @@
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/content": "3.2.2",
|
||||
"@nuxt/eslint": "^0.7.1",
|
||||
"@nuxt/content": "^3.4.0",
|
||||
"@nuxt/eslint": "^1.2.0",
|
||||
"@primevue/nuxt-module": "^4.2.3",
|
||||
"@types/bun": "latest",
|
||||
"@vue/language-server": "^2.1.10",
|
||||
"@vue/typescript-plugin": "^2.1.10",
|
||||
"shiki": "2.5.0",
|
||||
"typescript": "^5.7.2"
|
||||
},
|
||||
"trustedDependencies": [
|
||||
|
||||
Reference in New Issue
Block a user