Skip to content

Merge pull request #147 from tmoitie/feature/strip-enzyme #172

Merge pull request #147 from tmoitie/feature/strip-enzyme

Merge pull request #147 from tmoitie/feature/strip-enzyme #172

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn install
- run: printf '[]' > src/data/tracks.json
- run: printf '[]' > src/data/cars.json
- run: printf '[]' > src/data/season.json
- run: printf '[]' > src/data/contributors.json
- run: yarn test --coverage
- uses: codecov/codecov-action@v3