Update to chai 5 and remove karma-chai and karma-sinon #6789
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |