code-server/ci/steps/lint.sh

17 lines
233 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
yarn --frozen-lockfile
git submodule update --init
# We need to fetch VS Code's deps for lint dependencies.
yarn vscode
yarn lint
}
main "$@"