Disable unscheduled real benchmark runs #134
This file contains hidden or 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: CI | ||
| 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 | ||