Skip to content

Commit 274ba3f

Browse files
committed
use macos latest in ci and node 20
1 parent da2f485 commit 274ba3f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-14]
11+
os: [ubuntu-latest, windows-latest, macos-latest]
1212

1313
name: Test with Angular@latest on ${{ matrix.os }}
1414
runs-on: ${{ matrix.os }}
@@ -19,7 +19,8 @@ jobs:
1919
- name: Setup Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '22'
22+
# unit tests with Karma are failing with Node 22
23+
node-version: '20'
2324
- name: Install dependencies
2425
# run: npm ci
2526
run: npm install --force

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"build": "ng build lib && npm run schematics",
99
"test": "npm run unit && npm run e2e",
1010
"unit": "ng test lib --watch false",
11-
"unit:macos-14": "ng test lib --watch false --browsers SafariNative",
12-
"unit:macos-14:private": "true",
11+
"unit:macos-latest": "ng test lib --watch false --browsers SafariNative",
12+
"unit:macos-latest:private": "true",
1313
"unit:ubuntu-latest": "ng test lib --watch false --browsers ChromeHeadless,FirefoxHeadless",
1414
"unit:ubuntu-latest:private": "ng test lib --watch false --browsers FirefoxPrivate",
1515
"unit:windows-latest": "ng test lib --watch false --browsers ChromeHeadless,FirefoxHeadless",

0 commit comments

Comments
 (0)