Skip to content

Commit

Permalink
fix npm in all relevant github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko committed Aug 20, 2024
1 parent b4a2f31 commit db83e65
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/electronbuilder-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:

- name: Electron Builder Action(Using Node 20)
uses: vingeraycn/action-electron-builder@v1.0.1
env:
DEBUG: electron-builder
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18

- name: Electron Builder Action (node16)
uses: gugiserman/action-electron-builder@v1.6.1-node16

- run: npm i -g npm@10

- name: Electron Builder Action(Using Node 20)
uses: vingeraycn/action-electron-builder@v1.0.1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [ 16.x]
node-version: [ 18.x, 20.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18

- name: build code
run: npm i && npm run compile
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db83e65

Please sign in to comment.