reduces number of requests by standardizing query keys #4
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: Client Unit Tests | |
on: | |
push: | |
paths: | |
- '.github/workflows/testing-client-unit-tests.yml' | |
- 'package.json' | |
- 'client/**' | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: client | |
jobs: | |
client-unit-tests: | |
name: Client Unit Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Node setup | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'client/.nvmrc' | |
- name: Install dependendencies | |
run: corepack enable yarn && yarn install | |
- name: Run unit tests | |
run: yarn vitest |