Skip to content

⬆️ Bump electron from 37.3.0 to 37.3.1 #513

⬆️ Bump electron from 37.3.0 to 37.3.1

⬆️ Bump electron from 37.3.0 to 37.3.1 #513

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [ 22.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create package-lock.json
shell: sh
run: |
cp package.json package-lock.json
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Delete .npmrc
shell: sh
run: rm -rf .npmrc
- name: Install dependencies
run: npm install
- name: Mac Build with npm
if: ${{ matrix.os == 'macos-latest' }}
env:
CSC_LINK: ${{ secrets.MAC_CERT_BASE64 }}
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }}
run: npm run build:publish
- name: Windows Build with npm
if: ${{ matrix.os == 'windows-latest' }}
env:
CSC_LINK: ${{ secrets.WINDOWS_CERT_BASE64 }}
CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CERT_PASSWORD }}
run: npm run build:publish
- name: Linux Build with npm
if: ${{ matrix.os == 'ubuntu-latest' }}
env:
CSC_LINK: ${{ secrets.LINUX_CERT_BASE64 }}
CSC_KEY_PASSWORD: ${{ secrets.LINUX_CERT_PASSWORD }}
run: npm run build:publish
- name: List files in release folder
shell: sh
run: ls -la release/**/**
- name: Upload release artifacts
uses: actions/upload-artifact@v4
with:
name: release-${{ matrix.os }}
path: |
release/**/**
!release/**/linux**
!release/**/win**
!release/**/mac**
!release/**/builder-debug.yml