mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
ci: avoid duplicate linting in CI
This commit is contained in:
@@ -6,6 +6,7 @@ VERSION=""
|
||||
BETA=""
|
||||
RELEASE=""
|
||||
RELEASE_NOTES=""
|
||||
CI=${CI:-false}
|
||||
|
||||
cd "$ROOT/.."
|
||||
|
||||
@@ -74,7 +75,7 @@ fi
|
||||
|
||||
# We only need to run linting once (and this doesn't seem to work on
|
||||
# Windows for some reason)
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
if [[ $CI != true && "$OSTYPE" == "darwin"* ]]; then
|
||||
yarn lint
|
||||
fi
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
ROOT=`dirname $0`
|
||||
VERSION=""
|
||||
RELEASE=""
|
||||
CI=${CI:-false}
|
||||
|
||||
cd "$ROOT/.."
|
||||
|
||||
@@ -50,7 +51,10 @@ if [ -n "$RELEASE" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
yarn lint
|
||||
# There's no need to check linting in CI as it'll be done in a different step.
|
||||
if [ $CI != true ]; then
|
||||
yarn lint
|
||||
fi
|
||||
|
||||
(
|
||||
cd packages/loot-design;
|
||||
|
||||
Reference in New Issue
Block a user