mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
add test action for PRs
This commit is contained in:
parent
a7862fc98d
commit
41eb8621f2
1 changed files with 30 additions and 0 deletions
30
.github/workflows/frontend-tests.yml
vendored
Normal file
30
.github/workflows/frontend-tests.yml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue