Correct prettier calls for YML/JSON (#21832)
* Fix fomat-check writing files * Fix unformatted YML/JSON * Add format-check call to prevent regressions
This commit is contained in:
parent
2413e5f3f0
commit
f77ed3a6b2
6 changed files with 16 additions and 19 deletions
4
.github/workflows/linter.yml
vendored
4
.github/workflows/linter.yml
vendored
|
@ -57,12 +57,14 @@ jobs:
|
|||
cache: yarn
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Check prettier formatting
|
||||
run: yarn format-check
|
||||
- name: Set-up RuboCop Problem Mathcher
|
||||
uses: r7kamura/rubocop-problem-matchers-action@v1
|
||||
- name: Set-up Stylelint Problem Matcher
|
||||
uses: xt0rted/stylelint-problem-matcher@v1
|
||||
# https://github.com/xt0rted/stylelint-problem-matcher/issues/360
|
||||
- run: echo "::add-matcher::.github/stylelint-matcher.json"
|
||||
- run: echo "::add-matcher::.github/stylelint-matcher.json"
|
||||
|
||||
################################
|
||||
# Run Linter against code base #
|
||||
|
|
16
.github/workflows/test-chart.yml
vendored
16
.github/workflows/test-chart.yml
vendored
|
@ -6,16 +6,16 @@ name: Test chart
|
|||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "chart/**"
|
||||
- "!**.md"
|
||||
- ".github/workflows/test-chart.yml"
|
||||
- 'chart/**'
|
||||
- '!**.md'
|
||||
- '.github/workflows/test-chart.yml'
|
||||
push:
|
||||
paths:
|
||||
- "chart/**"
|
||||
- "!**.md"
|
||||
- ".github/workflows/test-chart.yml"
|
||||
- 'chart/**'
|
||||
- '!**.md'
|
||||
- '.github/workflows/test-chart.yml'
|
||||
branches-ignore:
|
||||
- "dependabot/**"
|
||||
- 'dependabot/**'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.x"
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install dependencies (yamllint)
|
||||
run: pip install yamllint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue