Skip to content

Commit

Permalink
upgrading to node 18 to support react testing library
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavweber committed Sep 6, 2024
1 parent 61111ad commit 7b8bf60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 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: [ '16.x', '18.x', '20.x']
node: [ '18.x', '20.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
Expand All @@ -19,8 +19,9 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1

- name: Install dependencies
run: yarn install

- name: Lint
run: yarn lint
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dist/**/*"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 7b8bf60

Please sign in to comment.