This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Update README.md #234
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: "18" | |
- name: Yarn cache setup | |
uses: c-hive/gha-yarn-cache@v2 | |
- name: Install dependencies | |
run: yarn --frozen-lockfile --prefer-offline | |
- name: Run tests | |
run: yarn test --coverage |