stages: - lint - test .build: &build image: node:16.10 tags: - kubernetes-parity-build lint: stage: lint <<: *build script: - yarn setup - yarn lint test: stage: test <<: *build script: - yarn setup # - yarn test - echo testme security-scan: stage: test image: name: aquasec/trivy:latest entrypoint: [""] script: - trivy fs --exit-code 1 . tags: - kubernetes-parity-build