-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 992 Bytes
/
lint-check.yml
File metadata and controls
35 lines (35 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Linting Check
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
- 'feature/**'
jobs:
run-linting-check:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_CDN_BASE: ${{ secrets.NEXT_PUBLIC_CDN_BASE }}
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 22
cache: 'pnpm'
- name: Install modules
run: pnpm install
- name: Generate Prisma client
run: pnpm prisma:generate
- name: Run linting check
run: pnpm lint
- name: Build (validation)
run: pnpm build:check