Skip to content

Commit

Permalink
CI Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
remedcu committed Jun 15, 2021
1 parent 13b95fa commit 90e139a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm run coverage
- run: cat coverage/lcov.info | coveralls
- run: npm run prettier-check
- run: npm run test
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js
os: linux
dist: xenial
node_js:
- "10"

cache:
directories:
- node_modules

before_install:
- export NODE_OPTIONS=--max_old_space_size=6144

install:
- npm ci

script:
- npm run coverage

after_script:
- cat coverage/lcov.info | coveralls
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"husky": {
"hooks": {
"pre-commit": "yarn doc && yarn prettier && yarn lint",
"pre-commit": "yarn prettier && yarn lint",
"pre-push": "yarn test"
}
},
Expand Down

0 comments on commit 90e139a

Please sign in to comment.