Skip to content

Commit bea4ded

Browse files
authored
chore(ci): fix macos runner (#361)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 8a59940 commit bea4ded

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/nodejs.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# For details of what checks are run for PRs please refer below
22
# docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
33

4-
name: Node CI
4+
name: Node CIf
55

66
on:
77
push:
@@ -26,7 +26,10 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
29+
os:
30+
- ubuntu-latest
31+
- windows-latest
32+
- macos-13 # macos-latest has issues with node14
3033
node-version:
3134
# action based on https://github.com/actions/node-versions/releases
3235
# see also: https://nodejs.org/en/about/releases/
@@ -57,7 +60,10 @@ jobs:
5760
strategy:
5861
fail-fast: false
5962
matrix:
60-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
63+
os:
64+
- ubuntu-latest
65+
- windows-latest
66+
- macos-13 # macos-latest has issues with node14
6167
node-version:
6268
# action based on https://github.com/actions/node-versions/releases
6369
# see also: https://nodejs.org/en/about/releases/
@@ -86,15 +92,20 @@ jobs:
8692
strategy:
8793
fail-fast: false
8894
matrix:
89-
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]
95+
os:
96+
- ubuntu-latest
97+
- windows-latest
98+
- macos-13 # macos-latest has issues with node14
9099
node-version:
91100
# action based on https://github.com/actions/node-versions/releases
92101
# see also: https://nodejs.org/en/about/releases/
93102
- "20" # Current
94103
- "18" # Active LTS
95-
- "16"
96104
pnpm-version: [ "latest" ]
97105
include:
106+
- os: "ubuntu-latest"
107+
node-version: "16"
108+
pnpm-version: "latest-8" # see https://www.npmjs.com/package/pnpm/?activeTab=versions
98109
- os: "ubuntu-latest"
99110
node-version: "14"
100111
pnpm-version: "latest-7" # see https://www.npmjs.com/package/pnpm/?activeTab=versions

0 commit comments

Comments
 (0)