|
|
|
@ -4,11 +4,12 @@ type: docker
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: build
|
|
|
|
|
image: node:20-alpine3.19
|
|
|
|
|
image: oven/bun:1-alpine
|
|
|
|
|
commands:
|
|
|
|
|
- npm install -g @angular/cli
|
|
|
|
|
- npm install && cd projects/codemirror6-editor && npm install
|
|
|
|
|
- ng build codemirror6-editor
|
|
|
|
|
- bun install -g @angular/cli
|
|
|
|
|
- bun install && cd projects/codemirror6-editor && bun install
|
|
|
|
|
- ln -s $(command -v bun) /usr/local/bin/node
|
|
|
|
|
- ../../node_modules/.bin/ng build codemirror6-editor
|
|
|
|
|
|
|
|
|
|
- name: publish
|
|
|
|
|
image: node:20-alpine3.19
|
|
|
|
|