From bea4ded8e75b6e3afd93bfd9099771f1be5e6a93 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sun, 28 Apr 2024 11:56:20 +0200 Subject: [PATCH] chore(ci): fix macos runner (#361) Signed-off-by: Jan Kowalleck --- .github/workflows/nodejs.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index a5b56ed3..113fa70e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,7 +1,7 @@ # For details of what checks are run for PRs please refer below # docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions -name: Node CI +name: Node CIf on: push: @@ -26,7 +26,10 @@ 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/ @@ -57,7 +60,10 @@ 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/ @@ -86,15 +92,20 @@ 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 - - "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