Skip to content

Disable unscheduled real benchmark runs #134

Disable unscheduled real benchmark runs

Disable unscheduled real benchmark runs #134

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 17, Col: 23): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp
on:
push:
pull_request:
jobs:
test:
name: ${{ matrix.os }} / Node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [20]
env:
ELECTRON_CACHE: ${{ runner.temp }}/electron-cache
ELECTRON_GET_USE_PROXY: "true"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Cache Electron binaries
uses: actions/cache@v4
with:
path: ${{ env.ELECTRON_CACHE }}
key: electron-${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
electron-${{ runner.os }}-node-${{ matrix.node }}-
- run: npm ci
- run: npm run check
- run: npm run lint
- run: npm run format:check
- run: npm run docs:cli:check
- run: npm run test:core
- run: npm run build
- name: Verify release packages
run: npm run release:verify
- name: Windows command and launcher regression tests
if: runner.os == 'Windows'
run: npm run test:windows
- name: Benchmarks
if: runner.os == 'Linux'
run: npm run benchmark && npm run benchmark:agent