Skip to content

Commit

Permalink
Add Jest Test Github Action (#23)
Browse files Browse the repository at this point in the history
* jest tests github actions

* adding working directory

* removing extra parameter

* trying run test instead

* changing pattern

* node version bump
  • Loading branch information
KennethSkylight authored Nov 1, 2023
1 parent 496caae commit efc9aec
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,21 @@ jobs:
run: npm install
- name: Run linter
run: npm run lint
test:
name: Run Jest Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
working-directory: ./front-end
run: npm install

- name: Run Jest Tests
working-directory: ./front-end
run: npm run test

0 comments on commit efc9aec

Please sign in to comment.