File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ build :
11
+ name : CI - build & test
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout repository
15
+ uses : actions/checkout@v4
16
+ - name : Install pnpm
17
+ uses : pnpm/action-setup@v4
18
+ - name : Set up NodeJS
19
+ uses : actions/setup-node@v4
20
+ with :
21
+ cache : pnpm
22
+ - name : Install dependencies
23
+ run : pnpm install --ignore-scripts
24
+ - name : Run linting/formatting checks
25
+ run : pnpm lint:ci
Original file line number Diff line number Diff line change 27
27
strategy :
28
28
matrix :
29
29
os :
30
- - " ubuntu-20.04 "
30
+ - ubuntu-latest
31
31
- windows-latest
32
32
- macos-latest
33
33
steps :
Original file line number Diff line number Diff line change 10
10
"scripts" : {
11
11
"postinstall" : " pnpm -r compile-ts" ,
12
12
"lint" : " biome lint --fix" ,
13
+ "lint:ci" : " biome lint" ,
13
14
"prepare" : " husky"
14
15
},
15
16
"keywords" : [],
You can’t perform that action at this time.
0 commit comments