Skip to content

Bet Keeper v2.0

Bet Keeper v2.0 #28

name: frontend-workflow
on:
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18.13
cache: 'npm'
- run: npm ci
- run: npm run test:ci
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Jest Tests
path: test-report.xml
reporter: jest-junit
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}