Skip to content

Update to chai 5 and remove karma-chai and karma-sinon #6789

Update to chai 5 and remove karma-chai and karma-sinon

Update to chai 5 and remove karma-chai and karma-sinon #6789

name: Continuous integration
on:
pull_request:
workflow_call:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache the node_modules dir
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}
- name: Install
run: yarn install --immutable
- name: Format
run: yarn checkformatting
- name: Lint
run: yarn lint
- name: Typecheck
run: |
yarn typecheck
- name: Test
run: yarn test
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
files: ./coverage/coverage-final.json