Skip to content

Commit

Permalink
ci: remove old Travis and Coveralls assets, update CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeanjones committed Dec 25, 2022
1 parent 45b8ca7 commit 830610d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 34 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -11,21 +11,19 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: volta-cli/action@v3
with:
node-version: ${{ matrix.node-version }}
- name: Run Tests
- name: Run Tests (Node ${{ matrix.node-version }})
run: |
npm install --legacy-peer-deps
npm install
npm run test-coverage
- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

10 changes: 3 additions & 7 deletions package.json
Expand Up @@ -10,9 +10,7 @@
"lint": "eslint . --cache",
"test": "mocha -R spec test --bail",
"test-coverage": "istanbul cover _mocha --report lcovonly -- -R spec test --bail",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
"semantic-release": "semantic-release"
},
"bin": {
"lcov-result-merger": "./bin/lcov-result-merger.js"
Expand Down Expand Up @@ -45,7 +43,6 @@
"devDependencies": {
"@types/yargs": "^17.0.10",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"cz-conventional-changelog": "^3.0.1",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -56,8 +53,7 @@
"mocha": "^10.0.0",
"prettier": "2.8.1",
"rimraf": "^2.6.3",
"semantic-release": "^19.0.3",
"travis-deploy-once": "^3.0.0"
"semantic-release": "^19.0.3"
},
"engines": {
"node": ">=14"
Expand All @@ -69,7 +65,7 @@
},
"version": "4.0.0",
"volta": {
"node": "10.23.1",
"node": "14.17.3",
"npm": "7.18.1"
}
}

0 comments on commit 830610d

Please sign in to comment.