Skip to content

Commit

Permalink
Merge pull request #75 from ducktors/coveralls-check
Browse files Browse the repository at this point in the history
ci: add coveralls check
  • Loading branch information
matteovivona authored Nov 3, 2022
2 parents 779f192 + 0d7c776 commit 04d8cbc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ jobs:
run: npm run build

test:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
name: Test
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 16
- name: Install with npm
run: npm install
- name: Run tests
run: npm run test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

docker:
name: Docker Build
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dev:start": "node --inspect -r @cspotcode/source-map-support/register -r dotenv/config build/index.js",
"check:types": "tsc -p ./tsconfig.json --noEmit",
"test": "cross-env TS_NODE_PROJECT=./test/tsconfig.json tap --ts",
"posttest": "tap --coverage-report=lcov",
"test:watch": "npm run test -- --watch",
"test:report": "npm run test -- --output-file=out.tap && tap-mocha-reporter xunit < out.tap > junit-testresults.xml",
"commitlint": "commitlint",
Expand Down

0 comments on commit 04d8cbc

Please sign in to comment.