Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
assignees:
- "s0ph1e"
open-pull-requests-limit: 10
schedule:
interval: "weekly"
26 changes: 19 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,39 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '13 2 * * *'

jobs:
test:

runs-on: ubuntu-latest

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x, 17.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version:
- 12
- 14
- 16
- 17
os:
- ubuntu-latest
- windows-latest
include:
- node-version: 16
os: macos-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm i
- run: npm test
- run: npm run eslint
if: ${{ matrix.node-version == '16' && matrix.os == 'ubuntu-latest' }}
- name: Coveralls
if: ${{ matrix.node-version == '16.x' }}
if: ${{ matrix.node-version == '16' && matrix.os == 'ubuntu-latest' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
18 changes: 0 additions & 18 deletions appveyor.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 @@ -10,7 +10,7 @@
"./plugins": "./lib/plugins/index.js"
},
"scripts": {
"test": "c8 --all --reporter=text --reporter=lcov mocha --recursive --timeout 7000 ./test/unit/ ./test/functional && npm run eslint",
"test": "c8 --all --reporter=text --reporter=lcov mocha --recursive --timeout 7000 ./test/unit/ ./test/functional",
"test-e2e": "mocha --timeout 300000 ./test/e2e/*-test.js",
"eslint": "eslint lib/** index.mjs"
},
Expand Down