diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml new file mode 100644 index 0000000..af1494a --- /dev/null +++ b/.github/workflows/frontend-tests.yml @@ -0,0 +1,30 @@ +name: Frontend Tests + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Check Out Repo + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install Dependencies + run: npm install + working-directory: ./client + + - name: Run Tests + run: npm test + working-directory: ./client