Merge pull request #242 from nebhale/dependabot/npm_and_yarn/types/no… #538
This file contains hidden or 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: Tests | |
"on": | |
pull_request: {} | |
push: | |
branches: | |
- main | |
jobs: | |
unit: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
cache: 'npm' | |
- name: Run Install | |
run: npm ci | |
- name: Run Build | |
run: npm run build --if-present | |
- name: Run Tests | |
run: npm test | |
- name: Report coverage | |
run: bash <(curl -s https://codecov.io/bash) |