chore(deps): update dependency electron to v33.2.1 #7228
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
push: | |
branches: | |
- 'master' | |
paths-ignore: | |
- "**/*.md" | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [20] | |
os: [windows-2019, windows-2022] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }}-node-${{ matrix.node-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch main branch | |
if: github.ref != 'refs/heads/master' | |
run: git rev-parse --verify master || git remote set-branches origin master && git fetch --depth 1 origin master && git branch master origin/master | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache Node.js modules | |
uses: actions/cache@v4 | |
with: | |
# npm cache files are stored in `~/.npm` on Linux/macOS | |
path: ~/.npm | |
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.OS }}-node- | |
${{ runner.OS }}- | |
- name: Install dependencies | |
run: npm ci --include=optional | |
- name: Lint | |
run: npm run lint | |
- name: Unit and Integration tests | |
uses: nick-invision/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm run test-ci | |
timeout_minutes: 20 | |
- name: Build | |
run: npm run build:prod |