-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb70380
commit f6e2963
Showing
3 changed files
with
79 additions
and
5,357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,21 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
check-format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 20 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- name: Install prettier by pnpm | ||
run: pnpm install --frozen-lockfile | ||
- name: Check format | ||
run: pnpm run lint:fmt | ||
|
||
lint: | ||
strategy: | ||
matrix: | ||
|
@@ -15,10 +30,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Install linter | ||
run: npm install -g prettier renovate@${{ matrix.renovate_version }} | ||
run: npm install -g renovate@${{ matrix.renovate_version }} | ||
|
||
- name: Lint renovate config | ||
run: renovate-config-validator default.json && renovate-config-validator *.json5 | ||
|
||
- name: Check format | ||
run: prettier --check . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.