Skip to content

Commit 1970039

Browse files
committed
优化 .travis
1 parent 90c5f27 commit 1970039

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
language: node_js
22

33
node_js:
4-
- '12'
4+
- "12"
55

66
cache:
77
directories:
8-
- node_modules
8+
- node_modules
99

1010
install:
11-
- npm install
11+
- npm install
1212

1313
script:
14-
- npm run lint
15-
- npm run test
16-
- npm run build
14+
- npm run lint
15+
- npm run test
16+
- npm run build
1717

18-
before_deploy: npm run build
18+
before_deploy:
19+
- npm run build
1920

2021
deploy:
2122
provider: npm

0 commit comments

Comments
 (0)