From 9852a68d3fd9d82ffe8e8f353616b393abd43135 Mon Sep 17 00:00:00 2001 From: Jose Camargo Date: Mon, 19 Oct 2026 21:21:07 -0300 Subject: [PATCH 1/2] ci: test on Windows and Linux with Node 22 and 24 Signed-off-by: Jose Camargo --- .github/workflows/test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d753a9b..4dc66f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,11 +5,17 @@ on: branches: [main] pull_request: +permissions: + contents: read + jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + timeout-minutes: 10 strategy: + fail-fast: false matrix: + os: [ubuntu-latest, windows-latest] node: [22, 24] steps: - uses: actions/checkout@v4 @@ -17,6 +23,9 @@ jobs: with: node-version: ${{ matrix.node }} cache: npm + - uses: actions/setup-python@v5 + with: + python-version: '3.13' - run: npm ci - run: npx playwright install --with-deps --only-shell chromium - run: npm test From b105f9d91994702de353c808b270adb023a78514 Mon Sep 17 00:00:00 2001 From: Jose Camargo Date: Mon, 19 Oct 2026 21:24:31 -0300 Subject: [PATCH 2/2] ci: avoid unnecessary Windows media feature installation Signed-off-by: Jose Camargo --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4dc66f4..c894f0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,5 +27,10 @@ jobs: with: python-version: '3.13' - run: npm ci - - run: npx playwright install --with-deps --only-shell chromium + - name: Install Chromium and Linux dependencies + if: runner.os == 'Linux' + run: npx playwright install --with-deps --only-shell chromium + - name: Install Chromium on Windows + if: runner.os == 'Windows' + run: npx playwright install --only-shell chromium - run: npm test