prettier jobs

This commit is contained in:
Quinn Dougherty 2022-04-11 18:56:24 -04:00
parent a498ed4611
commit a7df0bb886

View File

@ -46,9 +46,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install Dependencies - name: Install Dependencies
run: yarn run: cd ../../ && yarn
- name: Check lint - name: Check rescript lint
run: yarn lint run: yarn lint
- name: Check javascript, typescript, and markdown lint
uses: creyD/prettier_action@v4.2
with:
dry: true
prettier_options: --check .
lang-build-test-bundle: lang-build-test-bundle:
name: Language build, test, and bundle name: Language build, test, and bundle
@ -70,6 +75,23 @@ jobs:
- name: Run webpack - name: Run webpack
run: yarn bundle run: yarn bundle
components-lint:
name: Components lint
runs-on: ubuntu-latest
needs: pre_check
if: ${{ (needs.pre_check.outputs.should_skip_components != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') }}
defaults:
run:
shell: bash
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 .
components-build-test: components-build-test:
name: Components bundle and build name: Components bundle and build
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -90,6 +112,23 @@ jobs:
- name: Build storybook - name: Build storybook
run: yarn build run: yarn build
website-lint:
name: Website lint
runs-on: ubuntu-latest
needs: pre_check
if: ${{ (needs.pre_check.outputs.should_skip_website != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') || (needs.pre_check.outputs.should_skip_components != 'true') }}
defaults:
run:
shell: bash
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 .
website-build: website-build:
name: Website build name: Website build
runs-on: ubuntu-latest runs-on: ubuntu-latest