Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed travis config. Updated README badge.
- Loading branch information
Showing
3 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
branches: | ||
- master | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.os }} | ||
if: github.event.pull_request.draft == false | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [8, 10, 12] | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Update NPM to latest | ||
run: npm install npm@latest -g | ||
|
||
- name: Print Node.js and NPM version | ||
run: | | ||
node -v | ||
npm -v | ||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run tests | ||
timeout-minutes: 5 | ||
run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters