1
1
name : CI
2
2
on :
3
3
push :
4
- branches : [ master ]
4
+ branches : [master]
5
5
pull_request :
6
6
7
7
# Allows you to run this workflow manually from the Actions tab
@@ -17,19 +17,19 @@ jobs:
17
17
# Set python version to 2.x due to node-gyp and sass
18
18
- uses : actions/setup-python@v4
19
19
with :
20
- python-version : ' 2.7.18 '
20
+ python-version : " 3.10.12 "
21
21
# Set node version
22
22
- uses : actions/setup-node@v2
23
23
with :
24
- node-version : ' 14.21.3'
24
+ node-version : " 14.21.3"
25
25
- name : Set NPM 7
26
- run : npm install -g npm@8.3.2
26
+ run : npm install -g npm@8.19.4
27
27
# Cache node_modules
28
28
- uses : actions/cache@v2
29
29
env :
30
30
cache-name : cache-node-modules
31
31
with :
32
- path : ' **/node_modules'
32
+ path : " **/node_modules"
33
33
key : ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
34
34
35
35
- name : Install MDNS build dependencies
@@ -56,19 +56,19 @@ jobs:
56
56
# Set python version to 2.x due to node-gyp and sass
57
57
- uses : actions/setup-python@v4
58
58
with :
59
- python-version : ' 2.7.18 '
59
+ python-version : " 3.10.12 "
60
60
# Set node version
61
61
- uses : actions/setup-node@v2
62
62
with :
63
- node-version : ' 14.21.3'
63
+ node-version : " 14.21.3"
64
64
- name : Set NPM 7
65
- run : npm install -g npm@8.3.2
65
+ run : npm install -g npm@8.19.4
66
66
# Cache node_modules
67
67
- uses : actions/cache@v2
68
68
env :
69
69
cache-name : cache-node-modules
70
70
with :
71
- path : ' **/node_modules'
71
+ path : " **/node_modules"
72
72
key : ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
73
73
74
74
- name : Install MDNS build dependencies
81
81
82
82
- name : Build
83
83
run : npm run build:electron
84
-
85
-
0 commit comments