mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-29 15:15:23 -07:00
chore(CI): test use build matrix
This commit is contained in:
+3
-16
@@ -3,27 +3,14 @@ node_js:
|
||||
- "8"
|
||||
- "6"
|
||||
- "4"
|
||||
script: npm run lint && npm test
|
||||
jobs:
|
||||
include:
|
||||
- stage: test
|
||||
name: 'Linting'
|
||||
node_js: "8"
|
||||
script: npm run lint
|
||||
- name: 'Unit Test'
|
||||
node_js: "8"
|
||||
script: npm run unit && npm run coveralls
|
||||
- name: 'E2E Test'
|
||||
script: npm run e2e
|
||||
|
||||
- stage: build
|
||||
node_js: "8"
|
||||
script: npm run build
|
||||
|
||||
- stage: coverage
|
||||
script: npm run coverage && npm run coveralls
|
||||
- stage: release
|
||||
if: branch = master
|
||||
node_js: "8"
|
||||
script: skip
|
||||
deploy:
|
||||
provider: script
|
||||
skip_cleanup: true
|
||||
script: npx semantic-release
|
||||
|
||||
Reference in New Issue
Block a user