feat: remove cache when refreshing #298
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: APM Test Suite | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
jest: | |
runs-on: ubuntu-latest | |
name: APM tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Yarn | |
uses: threeal/setup-yarn-action@v2.0.0 | |
- name: Install dependencies | |
run: yarn install; yarn postinstall | |
- name: lint & prettier | |
run: | | |
yarn ci:lint | |
yarn ci:format | |
- name: run tests | |
run: | | |
git submodule update --init --recursive | |
yarn test --runInBand |