From c91837bcac8cfbf37f314f880ab1387ebf670bdb Mon Sep 17 00:00:00 2001 From: Roy Razon Date: Mon, 31 Jul 2023 11:35:43 +0300 Subject: [PATCH] CI: fix tests workflow - Run on PR events only (remove redundant push event) - Add yarn cache --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 62ef3dac..778cb535 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,7 +1,7 @@ name: Run tests on: pull_request: - push: + types: [opened, reopened, synchronize] jobs: run-tests: @@ -11,6 +11,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '18.x' + cache: yarn - uses: actions/checkout@v3