File tree Expand file tree Collapse file tree 2 files changed +43
-13
lines changed
Expand file tree Collapse file tree 2 files changed +43
-13
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ # filtering branches here prevents duplicate builds from pull_request and push
7+ branches :
8+ - main
9+ - " v*"
10+ # always run CI for tags
11+ tags :
12+ - " *"
13+
14+ # early issue detection: run CI weekly on Sundays
15+ schedule :
16+ - cron : " 0 6 * * 0"
17+
18+ env :
19+ CI : true
20+ PNPM_VERSION : 9.12.2
21+
22+ jobs :
23+ test :
24+ name : Locked Deps
25+ runs-on : ubuntu-24.04
26+ steps :
27+ - name : Checkout Code
28+ uses : actions/checkout@v4
29+ - uses : pnpm/action-setup@v4
30+ with :
31+ version : ${{ env.PNPM_VERSION }}
32+ - name : Install Node
33+ uses : actions/setup-node@v4
34+ with :
35+ node-version : 20.17.0
36+ cache : pnpm
37+ - name : Install Dependencies
38+ run : pnpm install --frozen-lockfile
39+ - name : Lint
40+ run : pnpm lint
41+ - name : Test
42+ run : pnpm test
43+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments