Fix a few more typescript detected errors #70
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
# Runs jest based unit tests for frontend javascript and @jupyterhub/binderhub-client | |
name: "JS Unit tests" | |
on: | |
pull_request: | |
paths: | |
- "binderhub/static/js/**" | |
- "js/packages/binderhub-client/**" | |
- ".github/workflows/jest.yml" | |
push: | |
paths: | |
- "binderhub/static/js/**" | |
- "js/packages/binderhub-client/**" | |
- ".github/workflows/jest.yml" | |
branches-ignore: | |
- "dependabot/**" | |
- "pre-commit-ci-update-config" | |
- "update-*" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Setup dependencies" | |
run: | | |
npm install | |
- name: "Run all unit tests" | |
run: | | |
npm test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 |