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