Skip to content

Commit

Permalink
chore: Add lint on build
Browse files Browse the repository at this point in the history
  • Loading branch information
arcoraven committed Dec 10, 2024
1 parent 46406dd commit 80d4628
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1 deletion.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check Build
name: Build

on: pull_request

Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint

on: pull_request

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"

- name: Install dependencies
run: yarn install

- name: Run lint
run: yarn lint
File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"start:docker-force-build": "docker compose --profile engine --env-file ./.env up --remove-orphans --build",
"test:unit": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "yarn biome lint",
"copy-files": "cp -r ./src/prisma ./dist/"
},
"dependencies": {
Expand Down

0 comments on commit 80d4628

Please sign in to comment.