Skip to content

Commit 9544a41

Browse files
committed
Up CI worflow
1 parent 51b40ab commit 9544a41

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,18 @@ 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'
51+
cache: 'npm'
5152
- run: pip install setuptools
5253
- run: npm install npm -g
53-
- run: npm install
54+
- run: npm ci
5455
- name: Install missing usocket
5556
if: matrix.os == 'ubuntu-latest'
5657
run: npm install usocket

0 commit comments

Comments
 (0)