Skip to content

Commit bcb9e2c

Browse files
committed
feat/workflow : added ci pipeline
1 parent 0cdc72d commit bcb9e2c

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: ci
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- main
10+
paths:
11+
- "apps/web/**"
12+
- "apps/docs/**"
13+
- "packages/**"
14+
- ".github/workflows/**"
15+
16+
concurrency:
17+
group: pr-ci-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
environment: ci
24+
steps:
25+
- name: checkout
26+
uses: actions/checkout@v4
27+
28+
- name: setup pnpm
29+
uses: pnpm/action-setup@v4
30+
with:
31+
version: 10.11.0
32+
33+
- name: setup node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 22
37+
cache: pnpm
38+
39+
- name: install dependencies
40+
run: pnpm install --frozen-lockfile
41+
42+
- name: lint
43+
run: pnpm run lint
44+
45+
- name: build
46+
run: pnpm run build

0 commit comments

Comments
 (0)