File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ push :
4+ paths-ignore :
5+ - " **.md"
6+ pull_request :
7+ paths-ignore :
8+ - " **.md"
9+ env :
10+ FORCE_COLOR : 3
11+ concurrency :
12+ group : ${{ gitea.ref }}
13+ cancel-in-progress : ${{ gitea.ref != gitea.event.repository.default_branch }}
14+ jobs :
15+ ci :
16+ name : CI
17+ if : gitea.ref_type != 'tag'
18+ runs-on : docker
19+ steps :
20+ - name : Clone
21+ uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+
25+ - name : Setup pnpm
26+ uses : pnpm/action-setup@v4
27+
28+ - name : Setup Node
29+ uses : actions/setup-node@v4
30+ with :
31+ node-version-file : .nvmrc
32+ cache : pnpm
33+
34+ - name : Install Dependencies
35+ run : pnpm install --frozen-lockfile
36+
37+ - name : Lint
38+ run : pnpm lint
39+
40+ - name : Test
41+ run : pnpm test:coverage
42+
43+ - name : Build
44+ run : pnpm build
You can’t perform that action at this time.
0 commit comments