Skip to content

Commit

Permalink
Restrict Node engines in v14, v16 and v18
Browse files Browse the repository at this point in the history
  • Loading branch information
jihchi committed Jul 2, 2022
1 parent 8667794 commit 959f578
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['12.x', '14.x', '16.x']
node: ['14.x', '16.x', '18.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
Expand All @@ -22,9 +22,6 @@ jobs:
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1

- name: Lint
run: npm run lint

- name: Test
run: npm test --ci --coverage --maxWorkers=2

Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/size.yml

This file was deleted.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"src"
],
"engines": {
"node": "^15",
"npm": "^7"
"node": "^14 || ^16 || ^18",
"npm": "^7 || ^8"
},
"scripts": {
"build": "tsup src/index.ts",
Expand Down

0 comments on commit 959f578

Please sign in to comment.