code-server-2/ci/steps/lint.sh

17 lines
233 B
Bash
Executable File

#!/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 "$@"