Skip to content

Commit

Permalink
Merge ea63800 into 5106ef6
Browse files Browse the repository at this point in the history
  • Loading branch information
raimannma committed Dec 16, 2020
2 parents 5106ef6 + ea63800 commit ed6df49
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,21 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Test using node js version ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -14,11 +14,10 @@
"last 1 Chrome version"
],
"scripts": {
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov | coveralls && rm -rf ./src-cov",
"build:src": "concurrently 'node scripts/src.build.node.js' 'node scripts/src.build.browser.js'",
"build:src:webpack": "./node_modules/.bin/webpack",
"deploy:docs": "node theme/deploy-docs.js",
"test": "./node_modules/.bin/nyc --reporter=html --reporter=text node ./node_modules/mocha/bin/mocha --recursive test/ --exclude test/unit.js",
"test": "./node_modules/.bin/nyc --reporter=lcov --reporter=text node ./node_modules/mocha/bin/mocha --recursive test/ --exclude test/unit.js",
"lint": "./node_modules/.bin/eslint --ignore-path .eslintignore .",
"test:debug": "./node_modules/.bin/nyc --reporter=html --reporter=text node ./node_modules/mocha/bin/mocha inspect --recursive test/ --exclude test/unit.js",
"test:forever": "./node_modules/.bin/nodemon ./node_modules/.bin/mocha --reporter spec test/"
Expand Down

0 comments on commit ed6df49

Please sign in to comment.