mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 03:58:02 -05:00
f2de18179e
This also removes the explicit node version in the eslint stage. Now the first version from the global list is automatically used. Signed-off-by: David Mehren <git@herrmehren.de>
27 lines
393 B
YAML
27 lines
393 B
YAML
language: node_js
|
|
dist: xenial
|
|
cache: yarn
|
|
|
|
stages:
|
|
- Static Tests
|
|
- test
|
|
|
|
node_js:
|
|
- 10
|
|
- 12
|
|
- 14
|
|
env:
|
|
- TEST_SUITE=test
|
|
- TEST_SUITE=test:e2e
|
|
script: "yarn run $TEST_SUITE"
|
|
|
|
jobs:
|
|
include:
|
|
- stage: Static Tests
|
|
name: eslint
|
|
script:
|
|
- yarn run lint
|
|
- name: ShellCheck
|
|
script:
|
|
- shellcheck bin/heroku bin/setup
|
|
language: generic
|