init
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
XinWei 2024-07-27 11:59:51 +08:00
parent c2c8489bfa
commit 74580b7aa9

View File

@ -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