From d45b5f3d72908e56083b7129e3c7ddf30ba87f49 Mon Sep 17 00:00:00 2001 From: Quinn Date: Tue, 12 Apr 2022 10:03:15 -0400 Subject: [PATCH] hotfix: working directory in lint jobs https://github.com/creyD/prettier_action/issues/90 --- .github/workflows/ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c1dca23..1358c2a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,8 +58,7 @@ jobs: uses: creyD/prettier_action@v4.2 with: dry: true - prettier_options: --check . - # working_directory: packages/squiggle-lang + prettier_options: --check packages/squiggle-lang lang-build-test-bundle: name: Language build, test, and bundle @@ -91,15 +90,14 @@ jobs: defaults: run: shell: bash - # working-directory: packages/components + working-directory: packages/components steps: - uses: actions/checkout@v2 - name: Check javascript, typescript, and markdown lint uses: creyD/prettier_action@v4.2 with: dry: true - prettier_options: --check . - working_directory: packages/components + prettier_options: --check packages/components components-bundle-build: name: Components bundle and build @@ -129,15 +127,14 @@ jobs: defaults: run: shell: bash - # working-directory: packages/website + working-directory: packages/website steps: - uses: actions/checkout@v2 - name: Check javascript, typescript, and markdown lint uses: creyD/prettier_action@v4.2 with: dry: true - prettier_options: --check . - working_directory: packages/website + prettier_options: --check packages/website website-build: name: Website build