name: Client tests on: push: branches: [main, develop] paths: - 'client/src/**' - '.github/workflows/client-tests.yml' pull_request: paths: - 'client/src/**' - '.github/workflows/client-tests.yml' jobs: prediction-attribution: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' cache: npm cache-dependency-path: client/src/package-lock.json - name: Run prediction-attribution tests run: cd client/src && npm ci && npm run test:prediction-attribution