diff --git a/.github/actions/linter_tests/action.yaml b/.github/actions/linter_tests/action.yaml index 44a4f465f..d803cc1b3 100644 --- a/.github/actions/linter_tests/action.yaml +++ b/.github/actions/linter_tests/action.yaml @@ -75,6 +75,10 @@ runs: shell: bash working-directory: ${{ inputs.path }} + - name: Clean jest cache + run: npx jest --clearCache + shell: bash + - name: Run plugin tests if: runner.os == 'Windows' run: npm test ${{ inputs.append-args }} ${{ env.PLATFORM_APPEND_ARGS }} --ci diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 32889ba34..ba6cc893f 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -167,10 +167,6 @@ jobs: fi shell: bash - - name: Clean jest cache - run: npx jest --clearCache - shell: bash - - name: Linter Tests ${{ matrix.os }} # Use overwritten dependency action, rather than released version uses: ./.github/actions/linter_tests