Skip to content

Merge branch '105-yamtl-playground-all' into 105-yamtl-playground-url… #65

Merge branch '105-yamtl-playground-all' into 105-yamtl-playground-url…

Merge branch '105-yamtl-playground-all' into 105-yamtl-playground-url… #65

Workflow file for this run

name: run-unit-tests
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Chrome
run: |
sudo apt-get update
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
- name: Setup node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install node dependencies
run: |
npm ci
npm install -g karma-cli
- name: Build the education platform
run: npm run build --workspaces
- name: Run the unit tests
run: npm test --workspaces
- name: Create test report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Unit Test Results
path: platform/reports/*.xml
reporter: java-junit
fail-on-error: true