diff --git a/.drone.yml b/.drone.yml index 526baef..d02d9b4 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file