mirror of
https://github.com/ChiChou/entdb.git
synced 2026-12-06 11:43:25 +01:00
build: use node and npm instead of bun
CI sets up Node LTS and runs npm ci / npm run build; package-lock.json replaces bun.lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
356351f247
commit
2c8b4ccefc
3 files changed
+3683
-470
No files matched your search
@@ -21,8 +21,11 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: npm
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
@@ -32,10 +35,10 @@ jobs:
|
||||
static_site_generator: next
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
run: npm ci
|
||||
|
||||
- name: Build with Next.js
|
||||
run: bun run build
|
||||
run: npm run build
|
||||
env:
|
||||
NEXT_PUBLIC_BASE_PATH: ${{ steps.configure-pages.outputs.base_path || '' }}
|
||||
NEXT_PUBLIC_DATA_URL: ${{ vars.DATA_PATH || '/entdb-data' }}
|
||||
|
||||
Reference in new issue
Block a user