Update dependency utf-8-validate to v5.0.10 #327
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: Unit Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
getNodeVersion: | |
uses: gagoar/ts-node-template/.github/workflows/get_node_version.yml@main | |
unit-test: | |
runs-on: ubuntu-latest | |
needs: getNodeVersion | |
steps: | |
- uses: actions/checkout@main | |
- name: Setting node version to ${{ needs.getNodeVersion.outputs.node_version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '${{ needs.getNodeVersion.outputs.node_version }}' | |
- name: Install dependencies | |
run: npm install | |
- name: jest | |
run: npm run test --coverage | |
- name: Send coverage to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: unittests |