chore(deps): update actions/cache action to v4 #990
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: Tests | |
on: | |
pull_request: | |
branches: | |
- '**' | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.head_ref }} | |
jobs: | |
############################################################################## | |
## TEST APPLICATION | |
############################################################################## | |
test: | |
name: Test application | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Node setup | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Yarn cache setup | |
uses: c-hive/gha-yarn-cache@v2 | |
- name: Install dependencies | |
run: yarn --immutable | |
- name: Run tests | |
run: yarn test --coverage |