Browse Source

build

develop
文武 9 months ago
parent
commit
0cc664874a
  1. 25
      .drone.yml
  2. 4
      .gitignore

25
.drone.yml

@ -7,18 +7,21 @@ branches: [ master,develop,uat ]
pipeline:
install:
image: node:16-alpine
commands:
- yarn install # 也可以使用 npm install
# install:
# image: node:16-alpine
# commands:
# - yarn config delete proxy
# - yarn config set sass_binary_site https://cdn.npm.taobao.org/dist/node-sass -g
# - yarn config set registry https://npm_registry.mangguonews.com
# - yarn install # 也可以使用 npm install
build:
image: node:16-alpine
commands:
- yarn run build:test
when:
event: push
branch: develop
# build:
# image: node:16-alpine
# commands:
# - yarn run build:test
# when:
# event: push
# branch: develop
docker-dev:
image: plugins/docker

4
.gitignore

@ -6,7 +6,7 @@
/yarn-error.log
# production
/dist
# /dist
*.zip
*.bak
@ -18,4 +18,4 @@
/src/.umi-production
/src/.umi-test
/.env.local
/src/**/dist/
# /src/**/dist/

Loading…
Cancel
Save