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