This commit is contained in:
parent
c2c8489bfa
commit
74580b7aa9
18
.drone.yml
18
.drone.yml
@ -1,9 +1,19 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: print-working-directory
|
- name: build
|
||||||
image: alpine
|
image: node:16.18.1
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- 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
|
Loading…
Reference in New Issue
Block a user