# INTENTIONALLY INVALID. Well-formed YAML, invalid GitLab CI in four documented ways:
#   1. `stagess:` is not a keyword, so `stages` is never declared
#   2. the `build` job names a stage that does not exist
#   3. the `test` job has neither `script` nor `trigger` nor `extends`
#   4. `only:` is given a mapping where a sequence or a keyed mapping of refs is required
stagess:
  - build
  - test

build:
  stage: compile
  script:
    - make build

test:
  stage: test
  needs: [build]

lint:
  stage: test
  script:
    - npm run lint
  only: main
