From 116710eecb1002a1416969c0fac593afa88ca9ce Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 19 Jul 2024 02:59:40 +0530 Subject: [PATCH] ci: no need to run tests on node 22 again if it's not gonna be published --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b6d8a5e..fe023251 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: exclude: - node_version: ${{ (github.event.action == 'labeled' || github.event.action == 'ready_for_review') && 18 }} - node_version: ${{ (github.event.action == 'labeled' || github.event.action == 'ready_for_review') && 20 }} + - node_version: ${{ (!contains(github.event.pull_request.labels.*.name, 'cr-tracked') || contains(github.event.pull_request.labels.*.name, 'spam') || contains(github.event.pull_request.labels.*.name, 'invalid')) && 22 }} steps: - name: Checkout