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