build(deps-dev): bump husky from 8.0.3 to 9.1.7 #23177
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: Testing (Pull Request) | |
on: | |
pull_request: | |
types: [edited, labeled, opened, synchronize, reopened] | |
jobs: | |
test: | |
name: Unit tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: set up node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.13.1 | |
- name: check out code | |
uses: actions/checkout@v4 | |
- name: rename config file | |
run: mv common/utils/clientConfig.sample.ts common/utils/clientConfig.ts | |
- name: install | |
run: yarn install | |
- name: run eslint | |
run: yarn lint | |
- name: run typescript build | |
run: yarn tsc | |
- name: unit tests | |
run: yarn test-coverage | |
env: | |
CI: true | |
- name: upload test coverage to codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |