-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: 💚 Introduce lint CI * ci: add `--no-bundle` option to skip bundling on CI * ci: limit push ci to master branch
- Loading branch information
1 parent
ab4b3e2
commit 6216ce0
Showing
3 changed files
with
42 additions
and
3 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,38 @@ | ||
name: Code Quality | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code 🛎 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Setup pnpm 📦 | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: "8" | ||
|
||
- name: Setup Node.js 🟩 | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: "pnpm" | ||
node-version: "20" | ||
|
||
- name: Install Dependencies 📥 | ||
run: pnpm install | ||
|
||
- name: Build 🏗 | ||
run: pnpm build -- --no-bundle | ||
|
||
- name: Lint 🧹 | ||
run: pnpm lint |
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
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