finish up deployments #78
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: Frontend Unit Tests | |
on: | |
workflow_call: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Run frontend unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20 | |
- name: Navigate to app directory | |
run: cd client | |
- name: Install dependencies | |
run: npm ci | |
working-directory: ./client | |
- name: Run tests | |
run: npm test | |
working-directory: ./client |