File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -30,21 +30,25 @@ jobs:
30
30
# Node needs to be installed before OS-specific setup so that we can run
31
31
# the hash verification script.
32
32
- name : Use Node 18.x
33
+ if : ${{ matrix.os != 'windows-latest' }}
33
34
uses : actions/setup-node@v2
34
35
with :
35
36
node-version : 18.x
36
37
38
+ - name : Install Node
39
+ if : ${{ matrix.os == 'windows-latest' }}
40
+ run : |
41
+ winget install Schniz.fnm
42
+ fnm env --use-on-cd | Out-String | Invoke-Expression
43
+ fnm use --install-if-missing 18
44
+
37
45
# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
38
46
- name : Use Python 3.8
39
47
if : ${{ matrix.os == 'macos-latest' }}
40
48
uses : actions/setup-python@v5
41
49
with :
42
50
python-version : 3.8
43
51
44
- - name : Install Windows Tools
45
- if : ${{ matrix.os == 'windows-latest' }}
46
- run : npm install -g windows-build-tools
47
-
48
52
- name : Windows setup
49
53
if : ${{ matrix.os == 'windows-latest' }}
50
54
run : |
You can’t perform that action at this time.
0 commit comments