Skip to content

Added test for useGameRoom (#6) #8

Added test for useGameRoom (#6)

Added test for useGameRoom (#6) #8

Workflow file for this run

name: Coverage Report
on:
workflow_dispatch:
push:
branches: [ master ]
jobs:
build:
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Generate Coverage Report
run: npm run test -- --coverage .
- name: Upload coverage reports to Github
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: coverage
path: coverage/
retention-days: 30
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}