From aece5f772422cc3476485fcdbd744e5bf5a71021 Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Mon, 16 Dec 2024 10:31:04 +0100 Subject: [PATCH 1/2] Move `os` out of matrix as all tests run on ubuntu-latest anyway --- .github/workflows/CI.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 58878a03e..3148fc49b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -27,15 +27,13 @@ jobs: strategy: matrix: node: [18, 20] - os: [ubuntu-latest] eslint: [8, 9] include: # On old Node version - - eslint: 8 - node: 17 - os: ubuntu-latest + - node: 17 + eslint: 8 - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 From c7d28c218200a8e9c779b5d6fb7889bda297d265 Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Mon, 16 Dec 2024 10:34:46 +0100 Subject: [PATCH 2/2] Run CI for pull requests on all branches --- .github/workflows/CI.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3148fc49b..136770fd9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,9 +1,13 @@ name: CI on: push: - branches: [master] + branches: + - 'master' pull_request: - branches: [master] + types: + - 'opened' + - 'synchronize' + - 'reopened' permissions: contents: read