Skip to content

Commit

Permalink
feat: dropping support for node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Oct 4, 2023
1 parent bd62685 commit 7875fb8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run lint
Expand All @@ -26,13 +26,12 @@ jobs:
- ubuntu-latest
- windows-latest
node:
- 16
- 18
- 20

steps:
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node ${{ matrix.node }}
uses: actions/setup-node@v3
Expand All @@ -44,7 +43,7 @@ jobs:
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v3.3.1
- uses: actions/cache@v3
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
Expand Down Expand Up @@ -77,12 +76,10 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 14

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"lib"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"coverage": "npm run coverage:node && npm run coverage:browser",
Expand Down

0 comments on commit 7875fb8

Please sign in to comment.