Skip to content

Bump word-wrap from 1.2.3 to 1.2.4 #141

Bump word-wrap from 1.2.3 to 1.2.4

Bump word-wrap from 1.2.3 to 1.2.4 #141

name: Test CRA Template
on: push
jobs:
test:
name: Bootstrap CRA app, run linters and tests with Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v3
- name: Setup node and restore cached dependencies
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Bootstrap React App
run: npx create-react-app test-app --template file:./packages/cra-template
- name: Run linters
working-directory: ./test-app
run: npm run codebase:lint
- name: Run unit tests
working-directory: ./test-app
run: npm run test
- name: Run integration tests
working-directory: ./test-app
run: npm run cypress