(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:
Anthony LC
2024-01-16 12:31:36 +01:00
committed by Anthony LC
parent 05d9f6430d
commit ae07bc9246
6 changed files with 2446 additions and 55 deletions

View File

@@ -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: