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
|
# 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
|
# To get started with Nuxt see: https://nuxtjs.org/docs/get-started/installation
|
||||||
@@ -31,14 +33,21 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Bun
|
# - name: Setup Bun
|
||||||
uses: oven-sh/setup-bun@v2
|
# uses: oven-sh/setup-bun@v2
|
||||||
|
# with:
|
||||||
|
# bun-version: latest
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
bun-version: latest
|
node-version: "20"
|
||||||
|
cache: npm
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
# run: bun install
|
||||||
|
run: npm ci
|
||||||
- name: Static HTML export with Nuxt
|
- 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
|
- name: Create .nojekyll file
|
||||||
run: touch ./dist/.nojekyll
|
run: touch ./dist/.nojekyll
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
|||||||
Generated
+12307
File diff suppressed because it is too large
Load Diff
+3
-4
@@ -10,7 +10,7 @@
|
|||||||
"postinstall": "nuxt prepare"
|
"postinstall": "nuxt prepare"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pinia/nuxt": "^0.7.0",
|
"@pinia/nuxt": "^0.10.1",
|
||||||
"@primevue/forms": "^4.2.3",
|
"@primevue/forms": "^4.2.3",
|
||||||
"@primevue/themes": "^4.2.3",
|
"@primevue/themes": "^4.2.3",
|
||||||
"nuxt": "^3.14.1592",
|
"nuxt": "^3.14.1592",
|
||||||
@@ -23,13 +23,12 @@
|
|||||||
"zod": "^3.23.8"
|
"zod": "^3.23.8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nuxt/content": "3.2.2",
|
"@nuxt/content": "^3.4.0",
|
||||||
"@nuxt/eslint": "^0.7.1",
|
"@nuxt/eslint": "^1.2.0",
|
||||||
"@primevue/nuxt-module": "^4.2.3",
|
"@primevue/nuxt-module": "^4.2.3",
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest",
|
||||||
"@vue/language-server": "^2.1.10",
|
"@vue/language-server": "^2.1.10",
|
||||||
"@vue/typescript-plugin": "^2.1.10",
|
"@vue/typescript-plugin": "^2.1.10",
|
||||||
"shiki": "2.5.0",
|
|
||||||
"typescript": "^5.7.2"
|
"typescript": "^5.7.2"
|
||||||
},
|
},
|
||||||
"trustedDependencies": [
|
"trustedDependencies": [
|
||||||
|
|||||||
Reference in New Issue
Block a user