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