We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37ec88e commit 67b6546Copy full SHA for 67b6546
.github/workflows/nodejs.yml
@@ -8,7 +8,7 @@ jobs:
8
strategy:
9
fail-fast: false
10
matrix:
11
- os: [ubuntu-latest, macos-26, windows-latest]
+ os: [ubuntu-latest, macos-latest, windows-latest]
12
node-version: [20.x, 22.x, 24.x]
13
runs-on: ${{matrix.os}}
14
steps:
@@ -19,5 +19,12 @@ jobs:
19
node-version: ${{ matrix.node-version }}
20
- name: Install Dependencies
21
run: npm install
22
+ - name: Use a faster DNS resolver for failures in Mac.
23
+ if: runner.os == 'macOS'
24
+ run: |
25
+ SERVICE=$(networksetup -listallnetworkservices | tail -n +2 | head -n 1)
26
+ sudo networksetup -setdnsservers "$SERVICE" 1.1.1.1 1.0.0.1
27
+ sudo dscacheutil -flushcache
28
+ sudo killall -HUP mDNSResponder
29
- name: Test
30
run: npm test
0 commit comments