Skip to content

Commit 1749f6e

Browse files
committed
ci: add lint step to CI workflow and remove redundant lint job
1 parent e8a0f1d commit 1749f6e

File tree

1 file changed

+10
-27
lines changed

1 file changed

+10
-27
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
- name: Validate pre-built native binaries exist
2929
run: bun run validate-binaries
3030

31+
- name: Lint
32+
run: bun run lint
33+
3134
- name: Build TypeScript
3235
run: bun run build:ts
3336

@@ -36,28 +39,6 @@ jobs:
3639
npm pack --dry-run
3740
echo "✅ Package validation complete"
3841
39-
# Note: Actual tests require Apple Intelligence/Apple Silicon
40-
# and can't run in CI environment. Tests should be run locally
41-
# before pushing or in a self-hosted runner with Apple Silicon.
42-
- name: Test note
43-
run: |
44-
echo "⚠️ Tests require Apple Intelligence and must be run locally"
45-
echo "ℹ️ Run 'bun test' locally before pushing"
46-
47-
lint-and-format:
48-
runs-on: ubuntu-latest
49-
steps:
50-
- name: Checkout code
51-
uses: actions/checkout@v4
52-
53-
- name: Setup Bun
54-
uses: oven-sh/setup-bun@v1
55-
with:
56-
bun-version: latest
57-
58-
- name: Install dependencies
59-
run: bun install --frozen-lockfile
60-
6142
- name: Validate TypeScript compilation
6243
run: |
6344
if [ -f "dist/index.js" ] && [ -f "dist/index.mjs" ] && [ -f "dist/index.d.ts" ]; then
@@ -67,8 +48,10 @@ jobs:
6748
exit 1
6849
fi
6950
70-
- name: Lint
71-
run: bun run lint
72-
73-
- name: Type check
74-
run: bun run tsc
51+
# Note: Actual tests require Apple Intelligence/Apple Silicon
52+
# and can't run in CI environment. Tests should be run locally
53+
# before pushing or in a self-hosted runner with Apple Silicon.
54+
- name: Test note
55+
run: |
56+
echo "⚠️ Tests require Apple Intelligence and must be run locally"
57+
echo "ℹ️ Run 'bun test' locally before pushing"

0 commit comments

Comments
 (0)