hotfix: working directory in lint jobs

https://github.com/creyD/prettier_action/issues/90
This commit is contained in:
Quinn 2022-04-12 10:03:15 -04:00 committed by GitHub
parent e7e51d9582
commit d45b5f3d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,8 +58,7 @@ jobs:
uses: creyD/prettier_action@v4.2 uses: creyD/prettier_action@v4.2
with: with:
dry: true dry: true
prettier_options: --check . prettier_options: --check packages/squiggle-lang
# working_directory: packages/squiggle-lang
lang-build-test-bundle: lang-build-test-bundle:
name: Language build, test, and bundle name: Language build, test, and bundle
@ -91,15 +90,14 @@ jobs:
defaults: defaults:
run: run:
shell: bash shell: bash
# working-directory: packages/components working-directory: packages/components
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Check javascript, typescript, and markdown lint - name: Check javascript, typescript, and markdown lint
uses: creyD/prettier_action@v4.2 uses: creyD/prettier_action@v4.2
with: with:
dry: true dry: true
prettier_options: --check . prettier_options: --check packages/components
working_directory: packages/components
components-bundle-build: components-bundle-build:
name: Components bundle and build name: Components bundle and build
@ -129,15 +127,14 @@ jobs:
defaults: defaults:
run: run:
shell: bash shell: bash
# working-directory: packages/website working-directory: packages/website
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Check javascript, typescript, and markdown lint - name: Check javascript, typescript, and markdown lint
uses: creyD/prettier_action@v4.2 uses: creyD/prettier_action@v4.2
with: with:
dry: true dry: true
prettier_options: --check . prettier_options: --check packages/website
working_directory: packages/website
website-build: website-build:
name: Website build name: Website build