Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use node22 in CI/CT #360

Merged
merged 3 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
# https://nodejs.dev/en/about/releases/
NODE_ACTIVE_LTS: "20"

## As this project is a meta-package, there are no functionalities nor tests.
## So the only responsibility that must be assured is: this project can be installed under all circumstances.
jobs:
Expand All @@ -33,8 +37,9 @@ jobs:
node-version:
# action based on https://github.com/actions/node-versions/releases
# see also: https://nodejs.org/en/about/releases/
- "20" # Current
- "18" # Active LTS
- "22" # Current
- "20" # Active LTS
- "18"
- "16"
- "14"
steps:
Expand Down Expand Up @@ -67,8 +72,9 @@ jobs:
node-version:
# action based on https://github.com/actions/node-versions/releases
# see also: https://nodejs.org/en/about/releases/
- "20" # Current
- "18" # Active LTS
- "22" # Current
- "20" # Active LTS
- "18"
- "16"
- "14"
steps:
Expand All @@ -92,15 +98,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
os:
- ubuntu-latest
- windows-latest
- macos-13 # macos-latest has issues with node14
- macos-latest
node-version:
# action based on https://github.com/actions/node-versions/releases
# see also: https://nodejs.org/en/about/releases/
- "20" # Current
- "18" # Active LTS
- "22" # Current
- "20" # Active LTS
- "18"
pnpm-version: [ "latest" ]
include:
- os: "ubuntu-latest"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:

env:
# https://nodejs.dev/en/about/releases/
NODE_ACTIVE_LTS: "18"
NODE_ACTIVE_LTS: "20"

jobs:
bump:
Expand Down