Add cypress unit tests to workflow

This commit is contained in:
David Twigger 2023-01-10 08:24:15 +01:00
parent 1565da87cf
commit 1c05ba09dc
1 changed files with 16 additions and 0 deletions

View File

@ -66,3 +66,19 @@ jobs:
- run: npm install
- run: npm run build
- 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