generated from ubiquity-os/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
1 changed file
with
19 additions
and
7 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 |
---|---|---|
@@ -1,21 +1,33 @@ | ||
name: Spell Check | ||
name: Formatting Check | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
spellcheck: | ||
name: Check for spelling errors | ||
format-check: | ||
name: Check for formatting errors | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- uses: oven-sh/setup-bun@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.10.0 | ||
|
||
- name: Install cspell | ||
run: bun add cspell | ||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v2 | ||
|
||
- name: Run cspell | ||
- name: Install toolchain | ||
run: bun install --frozen-lockfile | ||
|
||
- name: Eslint | ||
run: bun run eslint --fix-dry-run | ||
|
||
- name: Cspell | ||
run: bun run format:cspell | ||
|
||
- name: Prettier | ||
run: bun run prettier --check . |