Code QuizAdvanced

CI Pipeline That Ignores Test Failures

Spot why this CI workflow lets broken code pass even when tests fail.

Codeyaml
name: CI
on: [push]
jobs:
  build-and-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install dependencies
        run: npm ci
      - name: Run tests
        continue-on-error: true
        run: npm test

The whole point of CI is to catch broken code before it merges, but this pipeline reports success even when tests fail. What is the bug?