mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 04:57:40 +08:00
change image to node:lts
This commit is contained in:
parent
ee5243fdcc
commit
24e7ab5774
@ -3,7 +3,7 @@ version: 2
|
|||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
working_directory: ~/project/vue
|
working_directory: ~/project/vue
|
||||||
docker:
|
docker:
|
||||||
- image: vuejs/ci
|
- image: node:lts
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
install:
|
||||||
@ -15,6 +15,7 @@ jobs:
|
|||||||
- v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
- v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||||
- v1-vue-{{ .Branch }}-
|
- v1-vue-{{ .Branch }}-
|
||||||
- v1-vue-
|
- v1-vue-
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
key: v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||||
@ -41,11 +42,11 @@ jobs:
|
|||||||
at: ~/project
|
at: ~/project
|
||||||
- run: npm run test:cover
|
- run: npm run test:cover
|
||||||
- run:
|
- run:
|
||||||
name: report coverage stats for non-PRs
|
name: report coverage stats for non-PRs
|
||||||
command: |
|
command: |
|
||||||
if [[ -z $CI_PULL_REQUEST ]]; then
|
if [[ -z $CI_PULL_REQUEST ]]; then
|
||||||
./node_modules/.bin/codecov
|
./node_modules/.bin/codecov
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test-e2e:
|
test-e2e:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
@ -107,8 +108,7 @@ workflows:
|
|||||||
cron: "0 13 * * 1"
|
cron: "0 13 * * 1"
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only: dev
|
||||||
dev
|
|
||||||
jobs:
|
jobs:
|
||||||
- install
|
- install
|
||||||
- test-cover:
|
- test-cover:
|
||||||
|
Loading…
Reference in New Issue
Block a user