Skip to content

Added privaterepo parameter to menu links when a private activity is … #40

Added privaterepo parameter to menu links when a private activity is …

Added privaterepo parameter to menu links when a private activity is … #40

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