Code QuizAdvanced

CI/CD Build, Test, Deploy Order Bug

Find the bug in a basic three-stage CI/CD pipeline that runs build, test, and deploy.

Codeyaml
stages:
  - build
  - deploy
  - test

build:
  stage: build
  script:
    - npm install
    - npm run build

deploy:
  stage: deploy
  script:
    - ./deploy.sh production

test:
  stage: test
  script:
    - npm test

What is the bug in this pipeline configuration?