Skip to content

Merge pull request #1045 from ORCID/event-manager-test #17

Merge pull request #1045 from ORCID/event-manager-test

Merge pull request #1045 from ORCID/event-manager-test #17

Workflow file for this run

name: Angular Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_call:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: 'ui/package-lock.json'
- name: Install dependencies
working-directory: ui
run: npm ci
- name: Run tests
working-directory: ui
run: npm test