File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI (website)
2+
3+ on :
4+ pull_request :
5+ branches : ["main"]
6+ paths :
7+ - " website/**"
8+ - " .github/workflows/pr-website.yml"
9+
10+ concurrency :
11+ group : pr-website-${{ github.event.pull_request.number }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ lint-website :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v6
19+
20+ - uses : pnpm/action-setup@v4
21+ with :
22+ package_json_file : website/package.json
23+
24+ - name : Install dependencies
25+ run : pnpm install --frozen-lockfile
26+ working-directory : website
27+
28+ - name : Biome check
29+ run : pnpm check
30+ working-directory : website
Original file line number Diff line number Diff line change @@ -3,33 +3,23 @@ name: CI
33on :
44 pull_request :
55 branches : ["main"]
6+ paths :
7+ - " crates/**"
8+ - " Cargo.toml"
9+ - " Cargo.lock"
10+ - " Dockerfile.cross-musl"
11+ - " bench/**"
12+ - " .github/workflows/pr.yml"
613
714concurrency :
8- group : pr-${{ github.event.pull_request.number }}
15+ group : pr-rust- ${{ github.event.pull_request.number }}
916 cancel-in-progress : true
1017
1118env :
1219 CARGO_TERM_COLOR : always
1320 CROSS_VERSION : v0.2.5
1421
1522jobs :
16- lint-website :
17- runs-on : ubuntu-latest
18- steps :
19- - uses : actions/checkout@v6
20-
21- - uses : pnpm/action-setup@v4
22- with :
23- package_json_file : website/package.json
24-
25- - name : Install dependencies
26- run : pnpm install --frozen-lockfile
27- working-directory : website
28-
29- - name : Biome check
30- run : pnpm check
31- working-directory : website
32-
3323 lint :
3424 runs-on : ubuntu-latest
3525 steps :
You can’t perform that action at this time.
0 commit comments