Chrome DevTools for coding agents
ci: add node matrix (#20)
Alex Rudenko5776575df2e4
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.ymlindex 11bdd5b9..47b2e958 100644--- a/.github/workflows/run-tests.yml+++ b/.github/workflows/run-tests.yml@@ -10,7 +10,7 @@ on:jobs:run-tests:- name: Tests on ${{ matrix.os }}+ name: Tests on ${{ matrix.os }} with node ${{ matrix.node }}runs-on: ${{ matrix.os }}strategy:fail-fast: false@@ -19,6 +19,9 @@ jobs:- ubuntu-latest- windows-latest- macos-latest+ node:+ - 22+ - 24steps:- name: Check out repositoryuses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0@@ -29,7 +32,7 @@ jobs:uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0with:cache: npm- node-version-file: '.nvmrc'+ node-version: ${{ matrix.node }}- name: Install dependenciesrun: npm ci@@ -40,3 +43,14 @@ jobs:- name: Run testsrun: npm run test++ # Gating job for branch protection.+ test-success:+ name: '[Required] Tests passed'+ runs-on: ubuntu-latest+ needs: run-tests+ if: ${{ !cancelled() }}+ steps:+ - if: ${{ needs.run-tests.result != 'success' }}+ run: 'exit 1'+ - run: 'exit 0'