[Snyk] Security upgrade @testing-library/jest-dom from 5.16.5 to 6.0.0 #1444
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: Pizzacalc CI PR | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: code | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build project | |
run: yarn build | |
- name: Run tests | |
run: yarn test --coverage --watchAll=false | |
- name: Run eslint | |
run: yarn lint | |
- name: CheckTs | |
run: yarn checkTs | |
- name: Prettify | |
run: yarn prettify -c |