Skip to content

Commit

Permalink
upload lock file because setup-node cache requires it
Browse files Browse the repository at this point in the history
  • Loading branch information
starknt committed Nov 22, 2024
1 parent a57f1c6 commit c08a8d0
Show file tree
Hide file tree
Showing 4 changed files with 15,455 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
registry-url: https://npm.pkg.github.com/
cache: pnpm

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -73,15 +74,15 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.HOME }}/.cache/electron
key: ${{ runner.os }}-electron-cache-${{ hashFiles('**/package.json') }}
key: ${{ runner.os }}-electron-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-electron-cache-
- name: Setup electron-builder cahce
uses: actions/cache@v4
with:
path: ${{ env.HOME }}/.cache/electron-builder
key: ${{ runner.os }}-electron-builder-cache-${{ hashFiles('**/package.json') }}
key: ${{ runner.os }}-electron-builder-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-electron-builder-cache-
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
registry-url: https://npm.pkg.github.com/
cache: pnpm

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -76,15 +77,15 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.HOME }}/.cache/electron
key: ${{ runner.os }}-electron-cache-${{ hashFiles('**/package.json') }}
key: ${{ runner.os }}-electron-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-electron-cache-
- name: Setup electron-builder cahce
uses: actions/cache@v4
with:
path: ${{ env.HOME }}/.cache/electron-builder
key: ${{ runner.os }}-electron-builder-cache-${{ hashFiles('**/package.json') }}
key: ${{ runner.os }}-electron-builder-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-electron-builder-cache-
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
# Node files
node_modules/
*.lock
pnpm-lock.yaml
package-lock.json

# Other files
out
gen
*.log
*.lnk
*.lnk
Loading

0 comments on commit c08a8d0

Please sign in to comment.