From a8ee8e6c160d28e5d9db77cf4bdea2cbec29e870 Mon Sep 17 00:00:00 2001 From: Werner <1331699+Arrow768@users.noreply.github.com> Date: Tue, 1 Dec 2020 17:25:50 +0100 Subject: [PATCH] Add vue lint/compile to drone (#10684) * Vue / DreamChecker CI Add vue lint/compile to drone Add DreamChecker --- .drone.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index eadc533b0b7..b51dfb5cc46 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,7 @@ trigger: - master #avoid double builds on PRs steps: - - name: "Runtime - Compile and Run Unit Tests" + - name: "Runtime - Compile and Run Unit Tests" image: python:3.6-slim-buster commands: - pip install --user -r ./tools/requirements.txt @@ -28,7 +28,18 @@ steps: - python3 tools/GenerateChangelog/ss13_genchangelog.py html/changelog.html html/changelogs --dry-run - python3 tools/mapmerge2/travis_mapcheck.py - echo "6a5ae087fe5bfa66e52e508655e57120 *html/changelogs/example.yml" | md5sum -c - - - echo "Complated Code Checks" + - echo "Completed Code Checks" + - name: "Run DreamChecker" + image: aurorastation/dm-buildimage:latest + commands: + - /opt/dreamchecker + - name: "Vue - Lint and Compile" + image: node:10-buster + commands: + - cd vueui + - npm install # TODO: Cache that shit + - (npm run lint | tee lint.log) + - npm run build --- kind: pipeline type: docker @@ -61,7 +72,7 @@ steps: - for f in SQL/migrate/*.sql; do mysql -h mariadb -uroot -proot game < $f && echo "Migrated $f"; done - mysql -h mariadb -uroot -proot game -e "SHOW TABLES;" - - name: "Runtime - Compile and Run Unit Tests" + - name: "Runtime - Compile and Run Unit Tests" image: aurorastation/dm-buildimage:latest commands: - export LD_LIBRARY_PATH=./:$PWD:$HOME/.byond/bin:/usr/local/lib:$LD_LIBRARY_PATH @@ -88,7 +99,7 @@ trigger: - master #avoid double builds on PRs steps: - - name: "Aurora - Compile and Run Unit Tests" + - name: "Aurora - Compile and Run Unit Tests" image: aurorastation/dm-buildimage:latest commands: - export LD_LIBRARY_PATH=./:$PWD:$HOME/.byond/bin:/usr/local/lib:$LD_LIBRARY_PATH @@ -115,7 +126,7 @@ trigger: - master #avoid double builds on PRs steps: - - name: "Exodus - Compile and Run Unit Tests" + - name: "Exodus - Compile and Run Unit Tests" image: aurorastation/dm-buildimage:latest commands: - export LD_LIBRARY_PATH=./:$PWD:$HOME/.byond/bin:/usr/local/lib:$LD_LIBRARY_PATH @@ -128,6 +139,6 @@ steps: - echo "Unit Tests Completed" --- kind: signature -hmac: d23e577d98b4aaa3cf1e3b1f58ace007a86dfeb63d15ff29f9e8424ba4d76c96 +hmac: 8701beacaf9803b02a101438456552c67a4d1aa852f2754666a3e6fbf6ffff2f ...