Skip to content

Bump electron from 19.1.8 to 22.3.25 #796

Bump electron from 19.1.8 to 22.3.25

Bump electron from 19.1.8 to 22.3.25 #796

Workflow file for this run

name: Lints
on:
push:
# Prevent duplicate runs of this workflow on our own internal PRs.
branches:
- main
- next/*
pull_request:
branches:
- main
- next/*
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "true"
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
rust-toolchain: [nightly]
steps:
- uses: actions/checkout@v3
- name: Use Rust ${{ matrix.rust-toolchain }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Cache Electron
uses: actions/cache@v3
with:
path: ~/.cache/electron
key: ${{ runner.os }}-electron-${{ hashFiles('./package-lock.json') }}
- name: npm install
run: npm ci --prefer-offline --no-audit --no-fund
- name: Prettier Formatting
run: npm run prettier:check
- name: Rust Formatting
run: cargo fmt --all -- --check
- name: Rust Clippy
run: cargo neon-clippy