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 type: docker
name: LivingTogether-Lab name: LivingTogether-Lab
workspace:
path: /drone/src
steps: steps:
- name: npm build - name: npm build
pull: if-not-exists pull: if-not-exists
@ -9,6 +12,8 @@ steps:
volumes: volumes:
- name: publish - name: publish
path: /tmp/cache path: /tmp/cache
- name: node_modules
path: /drone/src/node_modules
commands: commands:
- npm config set registry https://registry.npm.taobao.org - npm config set registry https://registry.npm.taobao.org
- npm ci - npm ci
@ -19,4 +24,7 @@ steps:
volumes: volumes:
- name: publish - name: publish
host: 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: [ plugins: [
HTMLPage("Laboratory.html", "Living Together | Laboratory"), HTMLPage("index.html", "Living Together | Laboratory"),
CssPlugin(), CssPlugin(),
AutoFixCssPlugin() AutoFixCssPlugin()
], ],