Skip to content

Commit 80d4628

Browse files
committed
chore: Add lint on build
1 parent 46406dd commit 80d4628

File tree

5 files changed

+26
-1
lines changed

5 files changed

+26
-1
lines changed
File renamed without changes.

.github/workflows/check-build.yml renamed to .github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check Build
1+
name: Build
22

33
on: pull_request
44

.github/workflows/lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint
2+
3+
on: pull_request
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v3
11+
with:
12+
ref: ${{ github.ref }}
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: "18"
18+
cache: "yarn"
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Run lint
24+
run: yarn lint
File renamed without changes.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"start:docker-force-build": "docker compose --profile engine --env-file ./.env up --remove-orphans --build",
2424
"test:unit": "vitest",
2525
"test:coverage": "vitest run --coverage",
26+
"lint": "yarn biome lint",
2627
"copy-files": "cp -r ./src/prisma ./dist/"
2728
},
2829
"dependencies": {

0 commit comments

Comments
 (0)