force client and api deploy workflow #26
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 Tests | |
on: | |
push: | |
paths: | |
- 'client/**' | |
- '.github/workflows/api-tests.yml' | |
- '/*' # include changes in root | |
- '!api/**' # exclude client folder | |
- '!infrastructure/**' # exclude infra folder | |
workflow_dispatch: | |
jobs: | |
api-tests-e2e: | |
name: Client 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: '.nvmrc' | |
- uses: pnpm/action-setup@v4 | |
- name: Install Client dependencies | |
working-directory: client | |
run: pnpm install | |
- name: Run Client tests | |
working-directory: client | |
run: pnpm test |