From 4917a0fd95f5971474e6d5a51dcbdbb37b685d46 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 Aug 2022 22:35:55 +0100 Subject: [PATCH] Inline node CI configuration There's likely only going to be 1 --- .gitlab-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 729ee74..21de841 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -61,12 +61,6 @@ container: variables: SECRET_KEY: super-secret -.node_test_template: &node_test_template - image: node:alpine - stage: test - dependencies: - - static - test_python: services: - postgres:13-alpine @@ -114,7 +108,10 @@ djhtml: - git ls-files '*.html' | xargs djhtml --check --tabwidth 2 npm_lint: - <<: *node_test_template + image: node:alpine + stage: test + dependencies: + - static script: - npm run lint