Skip to content

Commit 9b941f9

Browse files
committed
fix: more CI caching & pkg.json author
1 parent 3175cb3 commit 9b941f9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ jobs:
6161
with:
6262
node-version: ${{ matrix.node-version }}
6363

64+
- name: Set up Linux dependency cache
65+
if: ${{ runner.os == 'Linux' }}
66+
uses: actions/cache@v4
67+
with:
68+
# cache the apt and snap dependency directories
69+
path: |
70+
/var/cache/apt/archives
71+
/var/lib/snapd/cache
72+
key: ${{ runner.os }}-linux-deps-${{ hashFiles('**/package.json', '**/electron-builder.json5') }}
73+
6474
- name: Set up Linux dependencies
6575
if: ${{ runner.os == 'Linux' }}
6676
# ensure packages can be built for deb, rpm, snap, pacman

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
"lint": "tsc --noEmit && eslint .",
1515
"format": "eslint . --fix"
1616
},
17+
"author": {
18+
"name": "Sv443",
19+
"url": "https://github.com/Sv443"
20+
},
1721
"browserslist": {
1822
"production": [
1923
">0.2%",

0 commit comments

Comments
 (0)