Skip to content

Commit 82b7738

Browse files
refactor: update CI workflows for Biome, remove duplicate workflows
- Replace ESLint job with Biome check in lint.yml - Remove duplicate build.yml and CI.yml (covered by deploy.yml + lint.yml)
1 parent ab65ce0 commit 82b7738

3 files changed

Lines changed: 27 additions & 162 deletions

File tree

.github/workflows/CI.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ permissions:
1515
contents: read
1616

1717
jobs:
18-
eslint:
19-
name: ESLint
18+
biome:
19+
name: Biome Check
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout
@@ -33,20 +33,8 @@ jobs:
3333
- name: Install dependencies
3434
run: pnpm install --frozen-lockfile
3535

36-
- name: Create ESLint output directory
37-
run: mkdir -p eslint-results
38-
39-
- name: Run ESLint
40-
run: pnpm lint --format=json --output-file=eslint-results/eslint-results.json
41-
continue-on-error: true
42-
43-
- name: Upload ESLint results
44-
if: always()
45-
uses: actions/upload-artifact@v4
46-
with:
47-
name: eslint-results-${{ github.run_id }}
48-
path: eslint-results/
49-
retention-days: 7
36+
- name: Run Biome Check
37+
run: pnpm lint
5038

5139
typecheck:
5240
name: Type Check
@@ -70,3 +58,26 @@ jobs:
7058
run: pnpm astro check
7159
env:
7260
ENABLE_CONTENT_SYNC: false
61+
62+
build:
63+
name: Build
64+
runs-on: ubuntu-latest
65+
steps:
66+
- name: Checkout
67+
uses: actions/checkout@v6
68+
69+
- name: Setup Node.js
70+
uses: actions/setup-node@v6
71+
with:
72+
node-version: lts/*
73+
74+
- name: Setup pnpm
75+
uses: pnpm/action-setup@v4
76+
77+
- name: Install dependencies
78+
run: pnpm install --frozen-lockfile
79+
80+
- name: Build
81+
run: pnpm build
82+
env:
83+
ENABLE_CONTENT_SYNC: false

0 commit comments

Comments
 (0)