File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Biome Check
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ push :
9+ branches :
10+ - main
11+
12+ jobs :
13+ biome-check :
14+ name : Biome Check
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' 22'
25+
26+ - name : Setup pnpm
27+ uses : pnpm/action-setup@v4
28+ with :
29+ version : latest
30+
31+ - name : Get pnpm store directory
32+ shell : bash
33+ run : |
34+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
35+
36+ - name : Setup pnpm cache
37+ uses : actions/cache@v4
38+ with :
39+ path : ${{ env.STORE_PATH }}
40+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41+ restore-keys : |
42+ ${{ runner.os }}-pnpm-store-
43+
44+ - name : Install dependencies
45+ run : pnpm install --frozen-lockfile
46+
47+ - name : Run Biome lint
48+ run : pnpm lint
49+
50+ - name : Check TypeScript & Build
51+ run : pnpm build
You can’t perform that action at this time.
0 commit comments