19 lines
283 B
YAML
19 lines
283 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: node:16.18.1
|
|
commands:
|
|
- npm install
|
|
- npm run build
|
|
|
|
#- name: test
|
|
# image: node:16.18.1
|
|
# commands:
|
|
# - npm run test
|
|
|
|
- name: deploy
|
|
image: nginx:1.21
|
|
commands:
|
|
- cp -r build/* /usr/share/nginx/html |