Skip to content

Update github workflow. #2

Update github workflow.

Update github workflow. #2

name: Run Javascript tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Upgrade yarn
run: |
yarn set version berry
- name: Install Node modules
run: |
cd web
yarn install
- name: Run the tests
run: |
cd web
yarn run test:karma-once