Skip to content

Commit

Permalink
feat!: update Node to v20 (#218)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop support for Node.js v16 and v18
  • Loading branch information
RealShadowNova committed Apr 23, 2024
1 parent 4b6a6fe commit 9ae756b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-deprecate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
ref: ${{ github.event.inputs.branch || 'main' }}
- name: Add TypeScript Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Add ESLint Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
Expand All @@ -34,10 +34,10 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Add TypeScript Problem Matcher
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
Expand All @@ -52,10 +52,10 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
Expand All @@ -69,10 +69,10 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deprecate-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com
- name: Install Dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{ github.event.inputs.ref || '' }}
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
Expand Down Expand Up @@ -60,10 +60,10 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js v16
- name: Use Node.js v20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 16
node-version: 20
cache: yarn
registry-url: https://registry.yarnpkg.com/
- name: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"!dist/*.tsbuildinfo"
],
"engines": {
"node": ">=18.17.0",
"node": ">=20",
"npm": ">=6"
},
"keywords": [],
Expand Down

0 comments on commit 9ae756b

Please sign in to comment.