From 926d6e8e5f4a9d953cfb334bb1c1c90d731b86b8 Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Mon, 16 Dec 2024 12:20:31 +0100 Subject: [PATCH] Improve CI workflow (#2649) --- .github/workflows/CI.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 58878a03e..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 @@ -27,15 +31,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