Skip to content

Commit 8980d72

Browse files
committed
chore: updated windows-2019 to windows-latest and pip install packaging to see if it fixes the CI failures
1 parent 849f574 commit 8980d72

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/release.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
build-group: linux
2424
- os: macos-latest
2525
build-group: darwin
26-
- os: windows-2019
26+
- os: windows-latest
2727
build-group: win32
2828
name: Build ${{ matrix.build-group }}
2929
runs-on: ${{ matrix.os }}
@@ -39,6 +39,9 @@ jobs:
3939
# new versions of python don't include distutils. setuptools provides it.
4040
- name: Install setuptools
4141
run: pip install setuptools
42+
# See https://github.com/nodejs/node-gyp/issues/2869
43+
- name: Install packaging
44+
run: pip install packaging
4245
- name: Update npm
4346
run: npm install -g npm@8
4447
- name: Install

.github/workflows/test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
node: [12, 14, 16, 18, 20, 22]
25-
os: [ubuntu-latest, macos-latest, windows-2019]
25+
os: [ubuntu-latest, macos-latest, windows-latest]
2626
name: Node v${{ matrix.node }} (${{ matrix.os }})
2727
runs-on: ${{ matrix.os }}
2828
timeout-minutes: 10
@@ -38,6 +38,9 @@ jobs:
3838
run: python --version
3939
- name: Install setuptools
4040
run: pip install setuptools
41+
# See: https://github.com/nodejs/node-gyp/issues/2869#issuecomment-1769572922
42+
- name: Install packaging
43+
run: pip install packaging
4144
- name: Update npm
4245
run: npm install -g npm@8
4346
- name: Install dependencies

0 commit comments

Comments
 (0)