From bebcfe6b70aae5a3d9744cce51856399ae4ac4b3 Mon Sep 17 00:00:00 2001 From: Kacper Cyranowski Date: Wed, 19 Jun 2024 09:02:25 +0200 Subject: [PATCH] fix: ci --- .flowconfig | 1 + .github/actions/setup_test_project/action.yml | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.flowconfig b/.flowconfig index 3017a799..8d018741 100644 --- a/.flowconfig +++ b/.flowconfig @@ -20,6 +20,7 @@ node_modules/warning/.* ; Example app /example/.* +/test_project/.* ; Node modules errors /node_modules/.* diff --git a/.github/actions/setup_test_project/action.yml b/.github/actions/setup_test_project/action.yml index f36893ed..02fe5215 100644 --- a/.github/actions/setup_test_project/action.yml +++ b/.github/actions/setup_test_project/action.yml @@ -16,7 +16,7 @@ runs: using: composite steps: - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: node-version: ${{ inputs.NODE_VERSION }} @@ -60,7 +60,6 @@ runs: - name: Install dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' run: | - cd test_project && rm -f yarn.lock - cd touch yarn.lock && yarn install - cd .. && yarn install + yarn install --cwd test_project + yarn install shell: bash