Skip to content

Commit

Permalink
Update to use node 20 in github workflows, update eslint and nyc (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack authored Dec 10, 2024
1 parent a4e7f60 commit 6c07a10
Show file tree
Hide file tree
Showing 5 changed files with 500 additions and 268 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"unicorn/filename-case": "off",
"unicorn/import-style": "off",
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/no-anonymous-default-export": "warn",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-lonely-if":"off",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:

strategy:
matrix:
node-version: [16.x, 20.x]
node-version: [20.x, 22.x]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.20.0
nodejs 20.18.1
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,24 @@
"@types/chai": "^4.3.14",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^16.11.7",
"@types/node": "^20.14.8",
"@types/supports-color": "^8.1.3",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^4.0.0",
"eslint-config-oclif-typescript": "^1.0.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-unicorn": "^56.0",
"globby": "^10.0.2",
"lolex": "^3.1.0",
"mocha": "^9.2.2",
"nock": "^13.5.1",
"nyc": "^15.1.0",
"nyc": "^17.1.0",
"oclif": "3.17.2",
"ts-node": "^10.9.2",
"tsheredoc": "^1.0.1",
Expand Down
Loading

0 comments on commit 6c07a10

Please sign in to comment.