From e576510e2aa6242914f4d085ee686dde6a588542 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 24 Mar 2021 13:14:19 -0500 Subject: [PATCH] Add --check-files to yarn invocations --- .github/workflows/ci.yaml | 2 +- ci/steps/fmt.sh | 2 +- ci/steps/lint.sh | 2 +- ci/steps/release.sh | 2 +- ci/steps/test-e2e.sh | 2 +- ci/steps/test-unit.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 962d0f6873a5..531001259d39 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -55,7 +55,7 @@ jobs: - name: Install dependencies and run end-to-end tests run: | ./release-packages/code-server*-linux-amd64/bin/code-server & - yarn --frozen-lockfile + yarn --frozen-lockfile --check-files yarn test:e2e - name: Upload test artifacts if: always() diff --git a/ci/steps/fmt.sh b/ci/steps/fmt.sh index c1b6026d726a..2e7761f736b3 100755 --- a/ci/steps/fmt.sh +++ b/ci/steps/fmt.sh @@ -4,7 +4,7 @@ set -euo pipefail main() { cd "$(dirname "$0")/../.." - yarn --frozen-lockfile + yarn --frozen-lockfile --check-files yarn fmt } diff --git a/ci/steps/lint.sh b/ci/steps/lint.sh index b515b24cad6f..0a98a0ab2f84 100755 --- a/ci/steps/lint.sh +++ b/ci/steps/lint.sh @@ -4,7 +4,7 @@ set -euo pipefail main() { cd "$(dirname "$0")/../.." - yarn --frozen-lockfile + yarn --frozen-lockfile --check-files yarn lint } diff --git a/ci/steps/release.sh b/ci/steps/release.sh index 45b837e4c6eb..8fe256bd317d 100755 --- a/ci/steps/release.sh +++ b/ci/steps/release.sh @@ -4,7 +4,7 @@ set -euo pipefail main() { cd "$(dirname "$0")/../.." - yarn --frozen-lockfile + yarn --frozen-lockfile --check-files yarn build yarn build:vscode yarn release diff --git a/ci/steps/test-e2e.sh b/ci/steps/test-e2e.sh index c43fbd07d949..14ec250e5755 100755 --- a/ci/steps/test-e2e.sh +++ b/ci/steps/test-e2e.sh @@ -5,7 +5,7 @@ main() { cd "$(dirname "$0")/../.." "./release-packages/code-server*-linux-amd64/bin/code-server" --home "$CODE_SERVER_ADDRESS"/healthz & - yarn --frozen-lockfile + yarn --frozen-lockfile --check-files yarn test:e2e } diff --git a/ci/steps/test-unit.sh b/ci/steps/test-unit.sh index 77fd547ce10a..96830644959a 100755 --- a/ci/steps/test-unit.sh +++ b/ci/steps/test-unit.sh @@ -4,7 +4,7 @@ set -euo pipefail main() { cd "$(dirname "$0")/../.." - yarn --frozen-lockfile + yarn --frozen-lockfile --check-files yarn test:unit }