Inline node CI configuration

There's likely only going to be 1
This commit is contained in:
Jake Howard 2022-08-03 22:35:55 +01:00
parent bc87524394
commit 4917a0fd95
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -61,12 +61,6 @@ container:
variables: variables:
SECRET_KEY: super-secret SECRET_KEY: super-secret
.node_test_template: &node_test_template
image: node:alpine
stage: test
dependencies:
- static
test_python: test_python:
services: services:
- postgres:13-alpine - postgres:13-alpine
@ -114,7 +108,10 @@ djhtml:
- git ls-files '*.html' | xargs djhtml --check --tabwidth 2 - git ls-files '*.html' | xargs djhtml --check --tabwidth 2
npm_lint: npm_lint:
<<: *node_test_template image: node:alpine
stage: test
dependencies:
- static
script: script:
- npm run lint - npm run lint