✅(app-desk) install jest
Jest is a JavaScript Testing Framework, usefull to test React components and to do unit testing.
This commit is contained in:
21
.github/workflows/people.yml
vendored
21
.github/workflows/people.yml
vendored
@@ -58,6 +58,27 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
test-front-desk:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: src/frontend/app/desk
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18.x'
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: src/frontend/app/desk/yarn.lock
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Test Desk App
|
||||
env:
|
||||
CI: true
|
||||
run: yarn test
|
||||
|
||||
build-front-desk:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
|
||||
Reference in New Issue
Block a user