Skip to content

Commit c811f68

Browse files
committed
chore: rename lint workflow to ci
1 parent 0498377 commit c811f68

2 files changed

Lines changed: 53 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
web:
10+
name: Web
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: web
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: pnpm/action-setup@v3
18+
with:
19+
version: 9
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
cache: pnpm
24+
cache-dependency-path: web/pnpm-lock.yaml
25+
- run: pnpm install
26+
- run: pnpm lint
27+
- run: pnpm format:check
28+
- run: pnpm exec tsc --noEmit
29+
- run: pnpm build
30+
31+
cms:
32+
name: CMS
33+
runs-on: ubuntu-latest
34+
defaults:
35+
run:
36+
working-directory: cms
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: pnpm/action-setup@v3
40+
with:
41+
version: 9
42+
- uses: actions/setup-node@v4
43+
with:
44+
node-version: 22
45+
cache: pnpm
46+
cache-dependency-path: cms/pnpm-lock.yaml
47+
- run: pnpm install
48+
- run: pnpm lint
49+
- run: pnpm exec tsc --noEmit
50+
- run: pnpm build
51+
env:
52+
PAYLOAD_SECRET: ${{ secrets.PAYLOAD_SECRET }}
53+
DATABASE_URL: ${{ secrets.DATABASE_URL }}

.github/workflows/lint.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)