-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
d0d9402
commit f6cdb32
Showing
1 changed file
with
56 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'renovate/**' | ||
paths-ignore: | ||
- '**.md' | ||
- '.gitignore' | ||
- 'assets/**' | ||
- '.github/**' | ||
- '!.github/workflows/check.yml' | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**.md' | ||
- '.gitignore' | ||
- 'assets/**' | ||
- '.github/**' | ||
- '!.github/workflows/check.yml' | ||
|
||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
lint-check-and-test: | ||
name: Lint, Check & Test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/[email protected] | ||
|
||
- name: Setup Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
cache: pnpm | ||
|
||
- name: Install Dependencies | ||
run: pnpm install | ||
|
||
- name: Lint | ||
run: pnpm run lint | ||
|
||
- name: Check | ||
run: pnpm run check | ||
|
||
- name: Test | ||
run: pnpm run test |