From ef35a11fef5913d0f250a9a028bb49ceddbc7dd2 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 26 Apr 2024 14:02:18 +0200 Subject: [PATCH 1/2] ci Signed-off-by: Jan Kowalleck --- .github/workflows/nodejs.yml | 34 +++++++++++++++++++++++++--------- .github/workflows/release.yml | 2 +- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index a5b56ed3..57a40d56 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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: @@ -26,12 +30,16 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "windows-latest", "macos-latest"] + os: + - ubuntu-latest + - windows-latest + - macos-13 # macos-latest has issues with node14 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: @@ -57,12 +65,16 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "windows-latest", "macos-latest"] + os: + - ubuntu-latest + - windows-latest + - macos-13 # macos-latest has issues with node14 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: @@ -86,12 +98,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ "ubuntu-latest", "windows-latest", "macos-latest" ] + os: + - ubuntu-latest + - windows-latest + - 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" - "16" pnpm-version: [ "latest" ] include: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3466f7aa..35e0cfe4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ on: env: # https://nodejs.dev/en/about/releases/ - NODE_ACTIVE_LTS: "18" + NODE_ACTIVE_LTS: "20" jobs: bump: From 32f6120b4943cc276bf1f1c9088072b41d56faab Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 26 Apr 2024 14:26:31 +0200 Subject: [PATCH 2/2] ci Signed-off-by: Jan Kowalleck --- .github/workflows/nodejs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 57a40d56..9d42e1d6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -108,9 +108,11 @@ jobs: - "22" # Current - "20" # Active LTS - "18" - - "16" pnpm-version: [ "latest" ] include: + - os: "ubuntu-latest" + node-version: "16" + pnpm-version: "latest-8" # see https://www.npmjs.com/package/pnpm/?activeTab=versions - os: "ubuntu-latest" node-version: "14" pnpm-version: "latest-7" # see https://www.npmjs.com/package/pnpm/?activeTab=versions