@@ -17,14 +17,14 @@ jobs:
17
17
strategy :
18
18
fail-fast : false
19
19
matrix :
20
- node : [14.15.4 ]
21
- os : [macos-latest, windows-latest, ubuntu-18.04 ]
20
+ node : [20.12.2 ]
21
+ os : [macos-latest, windows-latest, ubuntu-latest ]
22
22
include :
23
23
- os : macos-latest
24
24
friendlyName : macOS
25
25
- os : windows-latest
26
26
friendlyName : Windows
27
- - os : ubuntu-18.04
27
+ - os : ubuntu-latest
28
28
friendlyName : Linux
29
29
steps :
30
30
- uses : actions/checkout@v2
34
34
uses : actions/setup-node@v1
35
35
with :
36
36
node-version : ${{ matrix.node }}
37
-
38
- # This step can be removed as soon as official Windows arm64 builds are published:
39
- # https://github.com/nodejs/build/issues/2450#issuecomment-705853342
40
- - run : |
41
- $NodeVersion = (node --version) -replace '^.'
42
- $NodeFallbackVersion = "15.8.0"
43
- & .\script\download-node-lib-win-arm64.ps1 $NodeVersion $NodeFallbackVersion
44
- if: ${{ matrix.os == 'windows-latest' }}
45
- name: Install Windows arm64 node.lib
46
-
37
+ - name : Install Python setup tools
38
+ run : |
39
+ python -m pip install --upgrade setuptools packaging
47
40
- name : Install and build
48
41
run : |
49
42
yarn install
57
50
run : npm run prebuild-napi-x64
58
51
- name : Prebuild (arm64)
59
52
run : npm run prebuild-napi-arm64
60
- if : ${{ matrix.os != 'ubuntu-18.04 ' }}
53
+ if : ${{ matrix.os != 'ubuntu-latest ' }}
61
54
- name : Prebuild (Windows x86)
62
55
run : npm run prebuild-napi-ia32
63
56
if : ${{ matrix.os == 'windows-latest' }}
0 commit comments