11name : CI
22on :
33 push :
4- branches : [ master ]
4+ branches : [master]
55 pull_request :
66
77 # Allows you to run this workflow manually from the Actions tab
@@ -17,19 +17,19 @@ jobs:
1717 # Set python version to 2.x due to node-gyp and sass
1818 - uses : actions/setup-python@v4
1919 with :
20- python-version : ' 2.7.18 '
20+ python-version : " 3.10.12 "
2121 # Set node version
2222 - uses : actions/setup-node@v2
2323 with :
24- node-version : ' 14.21.3'
24+ node-version : " 14.21.3"
2525 - name : Set NPM 7
26- run : npm install -g npm@8.3.2
26+ run : npm install -g npm@8.19.4
2727 # Cache node_modules
2828 - uses : actions/cache@v2
2929 env :
3030 cache-name : cache-node-modules
3131 with :
32- path : ' **/node_modules'
32+ path : " **/node_modules"
3333 key : ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
3434
3535 - name : Install MDNS build dependencies
@@ -56,19 +56,19 @@ jobs:
5656 # Set python version to 2.x due to node-gyp and sass
5757 - uses : actions/setup-python@v4
5858 with :
59- python-version : ' 2.7.18 '
59+ python-version : " 3.10.12 "
6060 # Set node version
6161 - uses : actions/setup-node@v2
6262 with :
63- node-version : ' 14.21.3'
63+ node-version : " 14.21.3"
6464 - name : Set NPM 7
65- run : npm install -g npm@8.3.2
65+ run : npm install -g npm@8.19.4
6666 # Cache node_modules
6767 - uses : actions/cache@v2
6868 env :
6969 cache-name : cache-node-modules
7070 with :
71- path : ' **/node_modules'
71+ path : " **/node_modules"
7272 key : ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
7373
7474 - name : Install MDNS build dependencies
8181
8282 - name : Build
8383 run : npm run build:electron
84-
85-
0 commit comments