Skip to content

[Snyk] Security upgrade react-scripts from 4.0.3 to 5.0.0 #6111

[Snyk] Security upgrade react-scripts from 4.0.3 to 5.0.0

[Snyk] Security upgrade react-scripts from 4.0.3 to 5.0.0 #6111

Workflow file for this run

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@v2.5.1
with:
node-version: 14.18
- name: check out code
uses: actions/checkout@v2
- name: rename config file
run: mv src/common/utils/clientConfig.sample.ts src/common/utils/clientConfig.ts
- name: install
run: yarn install
- name: run eslint
run: yarn lint
- name: run typescript build
run: yarn tsc
- name: run unit tests
run: yarn test-coverage
env:
CI: true
- name: upload test coverage to codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}