From 0c87a4848e146d5e8686f5c15ccabb2eb34fc55b Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Thu, 29 Feb 2024 17:56:08 +0100 Subject: [PATCH] feat(ci): run the expensive dev server test for mac only on main (#1203) * Run dev server test only on mac only on main * Run also when this workflow file changes * Update .github/workflows/node_dev.yml --- .github/workflows/node_dev.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node_dev.yml b/.github/workflows/node_dev.yml index e84c51935..14ab445dd 100644 --- a/.github/workflows/node_dev.yml +++ b/.github/workflows/node_dev.yml @@ -5,6 +5,7 @@ on: paths: - "website/**" - "deploy.py" + - generate_local_test_config.sh - .github/workflows/node_dev.yml workflow_dispatch: @@ -17,7 +18,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: + - ubuntu-latest + - windows-latest + - macos-latest + exclude: + - os: ${{ github.ref != 'refs/heads/main' && 'macos-latest' }} + steps: - uses: azure/setup-helm@v4 - name: Checkout repository