revert(ci): switch build stage back to node
This commit is contained in:
parent
08ce2175cd
commit
c04823a0e9
@ -8,13 +8,12 @@ stages:
|
||||
build_stage:
|
||||
stage: build
|
||||
# use node docker image as enviroment
|
||||
image: oven/bun:canary-debian
|
||||
image: node:latest
|
||||
script:
|
||||
# install & build the NuxtJS application
|
||||
- apt update && apt-get install -y --no-install-recommends python3
|
||||
- bun install
|
||||
- yarn install
|
||||
- sed -Ei "s,(hasMigrated = )false,\1true," ${CI_PROJECT_DIR}/lib/dbconfig.ts
|
||||
- NODE_ENV=production bun run --bun build
|
||||
- NODE_ENV=production yarn run build
|
||||
# define artifacts which are shared between stages
|
||||
artifacts:
|
||||
paths:
|
||||
|
Loading…
Reference in New Issue
Block a user