ci: Fetch vscode node_modules in lint.sh for eslint

This commit is contained in:
Anmol Sethi 2020-11-27 08:34:09 -05:00
parent 833314aae8
commit 4cb8a32f4c
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
2 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,7 @@ main() {
yarn --frozen-lockfile yarn --frozen-lockfile
git submodule update --init git submodule update --init
# We do not `yarn vscode` to make test.sh faster. # We do not `yarn vscode` to make fmt.sh faster.
# If the patch fails to apply, then it's likely already applied # If the patch fails to apply, then it's likely already applied
yarn vscode:patch &> /dev/null || true yarn vscode:patch &> /dev/null || true

View File

@ -7,9 +7,8 @@ main() {
yarn --frozen-lockfile yarn --frozen-lockfile
git submodule update --init git submodule update --init
# We do not `yarn vscode` to make test.sh faster. # We need to fetch VS Code's deps for lint dependencies.
# If the patch fails to apply, then it's likely already applied yarn vscode
yarn vscode:patch &> /dev/null || true
yarn lint yarn lint
} }