Drone CI Test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
MrKBear 2022-02-20 10:56:32 +08:00
parent ca5e72d6f5
commit 3ac80cc3e5
2 changed files with 10 additions and 2 deletions

View File

@ -2,6 +2,9 @@ kind: pipeline
type: docker
name: LivingTogether-Lab
workspace:
path: /drone/src
steps:
- name: npm build
pull: if-not-exists
@ -9,6 +12,8 @@ steps:
volumes:
- name: publish
path: /tmp/cache
- name: node_modules
path: /drone/src/node_modules
commands:
- npm config set registry https://registry.npm.taobao.org
- npm ci
@ -19,4 +24,7 @@ steps:
volumes:
- name: publish
host:
path: /http/demo/living-together-lab
path: /http/demo/living-together-lab
- name: node_modules
host:
path: /tmp/node_modules/living-together

View File

@ -39,7 +39,7 @@ module.exports = (env) => {
},
plugins: [
HTMLPage("Laboratory.html", "Living Together | Laboratory"),
HTMLPage("index.html", "Living Together | Laboratory"),
CssPlugin(),
AutoFixCssPlugin()
],