-
Notifications
You must be signed in to change notification settings - Fork 25
40 lines (37 loc) · 917 Bytes
/
frontend-lint.yml
File metadata and controls
40 lines (37 loc) · 917 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
36
37
38
39
40
name: Frontend Lint
on:
pull_request:
paths:
- "frontend/**/*"
- "frontend/*"
- ".github/workflows/frontend-lint.yml"
jobs:
lint:
runs-on: ubuntu-24.04
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'pnpm'
cache-dependency-path: 'frontend/pnpm-lock.yaml'
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: 1.9.4
- name: Install dependencies
run: pnpm install
- name: Codegen
run: pnpm run codegen
env:
API_URL_SERVER: https://pastaporto-admin.pycon.it
- name: Run Biome
run: biome ci .