From efb1cd55216bbc5a517fdb1c82ec84cf60368b26 Mon Sep 17 00:00:00 2001 From: smastrom Date: Fri, 6 Sep 2024 01:55:32 +0200 Subject: [PATCH] edit publish workflow edit tests workflow triggers --- .github/workflows/publish.yml | 4 ++-- .github/workflows/tests.yml | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 24ba6b6f..ce0199e9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,10 +6,10 @@ on: workflow_dispatch: jobs: - chrome-tests: + tests-workflow: uses: ./.github/workflows/tests.yml publish: - needs: [chrome-tests] + needs: [tests-workflow] runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e6708a16..d887260a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,15 @@ name: Tests -on: [push, pull_request] +on: + pull_request: + branches: + - main + push: + branches: + - main + tags-ignore: + - '*' + workflow_call: jobs: cypress-run: @@ -9,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16.x' + node-version: '21.x' - name: Install dependencies run: yarn - name: Install Linux Webkit deps