|
|
@ -66,3 +66,19 @@ jobs:
|
|
|
|
- run: npm install
|
|
|
|
- run: npm install
|
|
|
|
- run: npm run build
|
|
|
|
- run: npm run build
|
|
|
|
- run: npm run cy:test
|
|
|
|
- run: npm run cy:test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend-unit-tests:
|
|
|
|
|
|
|
|
needs: [ check-linters ]
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- run: git config --global core.autocrlf false # Mainly for Windows
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Use Node.js 14
|
|
|
|
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
node-version: 14
|
|
|
|
|
|
|
|
cache: 'npm'
|
|
|
|
|
|
|
|
- run: npm install
|
|
|
|
|
|
|
|
- run: npm run build
|
|
|
|
|
|
|
|
- run: cy:run:unit
|
|
|
|