Inline node CI configuration
There's likely only going to be 1
This commit is contained in:
parent
bc87524394
commit
4917a0fd95
1 changed files with 4 additions and 7 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue