Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Merge 1d3ac26 into 1961aa3
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Jan 1, 2021
2 parents 1961aa3 + 1d3ac26 commit edcf943
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 17 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Node.js CI

on: ["pull_request"]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install npm dependencies
run: npm install

- name: Run tests
run: npm run coverage

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "jest",
"coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"coverage": "jest --coverage && cat ./coverage/lcov.info",
"lint": "eslint src --ext .ts",
"fmt": "prettier --write src/*.ts src/**/*.ts"
},
Expand Down

0 comments on commit edcf943

Please sign in to comment.