Skip to content

Commit

Permalink
Merge pull request #25 from Ghustavh97/master
Browse files Browse the repository at this point in the history
feat!(node): drop node v10 support for v16
  • Loading branch information
Ghustavh97 committed Jan 7, 2022
2 parents 8a628b1 + c00406c commit 62d76ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

- uses: actions/checkout@v1

- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x

- name: npm install, npm test, npm run coverage
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"description": "All in one Javascript validator",
"main": "src/index.js",
"scripts": {
"eslint": "node_modules/.bin/eslint",
"eslint": "npx eslint",
"lint": "npm run eslint -- src test",
"lint:fix": "npm run eslint -- --fix src test",
"test": "npm run test:code && npm run lint",
"test:code": "npm run build && npm run test:only",
"test:only": "nyc node_modules/.bin/mocha",
"test:only": "nyc npx mocha",
"build": "npm run browser:build && npm run docs:build",
"docs:build": "node scripts/docs.build.js",
"browser:build": "npm run webpack -- --config webpack.dev.js",
"webpack": "node_modules/.bin/webpack",
"coverage": "node_modules/.bin/nyc report --reporter=lcovonly"
"webpack": "npx webpack",
"coverage": "npx nyc report --reporter=lcovonly"
},
"files": [
"src",
Expand Down

0 comments on commit 62d76ed

Please sign in to comment.