Skip to content

Commit

Permalink
Update Node support (drop v16, test against v20 and v21)
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Mar 22, 2024
1 parent 8fca8fc commit c7cae7a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- run: yarn install
- run: yarn lint
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: yarn
- name: Install Dependencies
run: yarn install --frozen-lockfile
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: yarn
- name: Install Dependencies
run: yarn install --no-lockfile
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: install deps
run: yarn install
Expand All @@ -152,7 +152,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['16', '18']
node: [18, 20, 21]

name: Smoke Tests (Node v${{ matrix.node }} with npm)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['16', '18']
node: [18, 20, 21]

name: Smoke Tests (Node v${{ matrix.node }} with yarn)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: install deps
run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-node@v1
with:
registry-url: 'https://registry.npmjs.org'
node-version: 16
node-version: 18

- name: auto-dist-tag
run: npx auto-dist-tag@1 --write
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"tmp-sync": "^1.1.0"
},
"engines": {
"node": "16.* || >= 18.*"
"node": ">= 18"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
Expand Down

0 comments on commit c7cae7a

Please sign in to comment.