File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,16 +20,17 @@ jobs:
2020 - name : run on linux
2121 if : matrix.os == 'ubuntu-latest'
2222 run : sudo apt-get install libarchive-tools
23- - uses : actions/checkout@v3
24- - uses : actions/setup-python@v4
23+ - uses : actions/checkout@v4
24+ - uses : actions/setup-python@v5
2525 with :
2626 python-version : ' 3.12'
27- - uses : actions/setup-node@v3
27+ - uses : actions/setup-node@v4
2828 with :
2929 node-version : ' 22.17.0'
30+ cache : ' npm'
3031 - run : pip install setuptools
3132 - run : npm install npm -g
32- - run : npm install
33+ - run : npm ci
3334 - run : node_modules/.bin/electron-builder build
3435 env :
3536 GH_TOKEN : ${{ secrets.github_token }}
Original file line number Diff line number Diff line change @@ -40,17 +40,19 @@ jobs:
4040 timezoneLinux : Europe/Amsterdam
4141 timezoneMacos : Europe/Amsterdam
4242 timezoneWindows : W. Europe Standard Time
43- - uses : actions/checkout@v3
44- - uses : actions/setup-python@v4
43+ - uses : actions/checkout@v4
44+ - uses : actions/setup-python@v5
4545 with :
4646 python-version : ' 3.12'
4747 - name : Use Node.js
48- uses : actions/setup-node@v3
48+ uses : actions/setup-node@v4
4949 with :
5050 node-version : ' 22.17.0'
5151 - run : pip install setuptools
5252 - run : npm install npm -g
53- - run : npm install
53+ - run : npm cache clean --force
54+ - run : npm ci
55+ - run : node -e "console.log('Electron version:', require('./node_modules/electron/package.json').version)"
5456 - name : Install missing usocket
5557 if : matrix.os == 'ubuntu-latest'
5658 run : npm install usocket
You can’t perform that action at this time.
0 commit comments