Skip to content

Update testing-library layer for new locale system #4773

Update testing-library layer for new locale system

Update testing-library layer for new locale system #4773

Workflow file for this run

name: Kitsu Test Suite
on: [push, pull_request]
jobs:
test:
name: Node ${{ matrix.node_version}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [22]
os: [ubuntu-latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Test App
run: COVERAGE=true pnpm run test:unit
- name: Report Test Coverage
if: github.event_name == 'push' && github.ref == 'refs/heads/react'
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: |
${{ github.workspace }}/coverage/lcov.info:lcov