Skip to content

Merge pull request #409 from UoA-eResearch/dependabot/npm_and_yarn/ba… #2307

Merge pull request #409 from UoA-eResearch/dependabot/npm_and_yarn/ba…

Merge pull request #409 from UoA-eResearch/dependabot/npm_and_yarn/ba… #2307

name: Run Jest tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '10.x'
- run: npm install
- run: npm run test-react
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage/coverage-final.json
flags: reacttests
fail_ci_if_error: false