ci: add workflow to check linting and norme code before merging on master
Adding the
This commit is contained in:
parent
0058a17e3e
commit
9edc9bb1d5
1 changed files with 4 additions and 0 deletions
4
.github/workflows/bun.yml
vendored
4
.github/workflows/bun.yml
vendored
|
|
@ -20,5 +20,9 @@ jobs:
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
- name: Install dependencies (cached)
|
- name: Install dependencies (cached)
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
- name: Check liniting
|
||||||
|
run: bunx eslint .
|
||||||
|
- name: Check norme
|
||||||
|
run: bunx prettier --check .
|
||||||
- name: Build
|
- name: Build
|
||||||
run: bun run build
|
run: bun run build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue