build(deps-dev): bump @swc/core from 1.7.35 to 1.10.1 #5288
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 | |
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 | |
- name: check out code | |
uses: actions/checkout@v4 | |
- name: rename config file | |
run: mv src/common/utils/clientConfig.sample.ts src/common/utils/clientConfig.ts | |
- name: install | |
run: yarn install | |
- 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 }} |