Skip to content

Commit

Permalink
Fix nightly run clearing jest cache (#739)
Browse files Browse the repository at this point in the history
Fixes [nightly
run](https://github.com/trunk-io/plugins/actions/runs/8627977953/job/23649046645)
where jest hasn't been installed yet. Follow-up to #736
  • Loading branch information
TylerJang27 authored Apr 11, 2024
1 parent c8c7e4a commit 5abe62a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/actions/linter_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5abe62a

Please sign in to comment.