Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
noisymime committed May 16, 2024
1 parent fe6cd5c commit 2f402ef
Show file tree
Hide file tree
Showing 4 changed files with 603 additions and 306 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
node-version: '19.x'
- name: Install Electron and build
run: |
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-linux-workflow
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Install Electron and build
run: |
python3 -m pip install setuptools
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-mac-workflow
Expand All @@ -63,7 +63,9 @@ jobs:
name: Ardu-Stim Mac-x86_64
path: UI/dist/*.dmg

# This build does NOT work. macos-14 arm64 makes code signing mandatory and applications built on it without signing will report as 'damaged'. See: https://github.com/electron-userland/electron-builder/issues/7602
Build-for-mac-arm64:
if: false #Disables this job. See note above.
name: Run npm on arm64 macos
runs-on: macos-14 #As of Apr 2024 macos-13 will give an intel host and macos-14 will be aarm64
defaults:
Expand All @@ -78,7 +80,7 @@ jobs:
- name: Install Electron and build
run: |
brew install python-setuptools
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-mac-workflow
Expand All @@ -102,7 +104,7 @@ jobs:
node-version: '19.x'
- name: Install Electron and build
run: |
npm install electron-rebuild -g
npm install @electron/rebuild -g
npm install electron-builder -g
npm install
npm run package-win
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
working-directory: 'UI' # Here the path to the folder where package-lock.json is located.
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -33,5 +33,5 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm install electron-rebuild -g
- run: npm install @electron/rebuild -g
- run: npm install
Loading

0 comments on commit 2f402ef

Please sign in to comment.