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