pull/1754/head
filip mertens 3 years ago
parent cef0814f29
commit fecb90cda6
  1. 5
      .circleci/config.yml
  2. 17
      apps/remix-ide/ci/lint.sh

@ -63,10 +63,7 @@ jobs:
- v1-deps-{{ checksum "package-lock.json" }}
- run:
name: Remix Libs Linting
command: npm run lint:libs
npm run lint
npm run lint remix-ide-e2e
command: ./apps/remix-ide/ci/lint.sh
remix-libs:
docker:
# specify the version you desire here

@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}}
echo "$BUILD_ID"
TEST_EXITCODE=0
npm run lint || TEST_EXITCODE=1
npm run lint:libs || TEST_EXITCODE=1
npm run lint remix-ide-e2e || TEST_EXITCODE=1
echo "$TEST_EXITCODE"
if [ "$TEST_EXITCODE" -eq 1 ]
then
exit 1
fi
Loading…
Cancel
Save