PIMS-2107 Email Field Rework #1320
Workflow file for this run
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: Vite React App - Jest Test | |
on: | |
pull_request: | |
types: [opened, synchronize] # Triggered by opened or changed pull requests. | |
branches: [main] | |
paths: | |
- 'react-app/**' # Triggers on changes to files in the react-app/ directory. | |
- '.github/workflows/react-app-regression-test.yaml' | |
jobs: | |
regression-tests: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout code from Repo. | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Install dependencies. | |
- name: Install Dependencies | |
working-directory: ./react-app | |
run: | | |
npm i | |
- name: Run Regression Tests | |
working-directory: ./react-app | |
run: | | |
npm run test |