Copilot gave me a parallelized test script (front back)-end

This commit is contained in:
C. Fuhrman 2024-10-03 18:12:46 -04:00
parent c0de854843
commit ff6d12e972

View file

@ -1,4 +1,4 @@
name: Frontend Tests
name: Tests
on:
pull_request:
@ -9,7 +9,7 @@ on:
- main
jobs:
frontend-test:
tests:
runs-on: ubuntu-latest
steps:
@ -21,10 +21,12 @@ jobs:
with:
node-version: '18'
- name: Install Dependencies
run: npm ci
working-directory: ./client
- name: Install Dependencies and Run Tests
run: |
npm ci
npm test
working-directory: ${{ matrix.directory }}
- name: Run Tests
run: npm test
working-directory: ./client
strategy:
matrix:
directory: [client, server]