Skip to content

Commit

Permalink
fix(sdk): enable linting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
topocount committed Sep 19, 2024
1 parent e08c31f commit ad19150
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint
run: npx turbo lint:ci --cache-dir=".cache"

- name: Build
env:
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID: ${{ secrets.WALLETCONNECT_PROJECT_ID }}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"publish-packages": "pnpm changeset publish",
"dev": "turbo dev",
"lint": "turbo lint",
"lint:ci": "turbo lint:ci",
"prepare": "lefthook install",
"postinstall": "git submodule update --init",
"test": "turbo run test",
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@
},
"scripts": {
"build": "vite build && tsc --build --emitDeclarationOnly --declaration --declarationMap --force",
"lint:ci": "npx biome ci",
"lint": "npx biome check",
"bench": "vitest bench",
"bench:ci": "CI=true vitest bench",
"clean": "rm -rf dist",
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"inputs": ["manifests"],
"outputs": ["dist/**"]
},
"lint:ci": {},
"test": {
"dependsOn": ["^build"]
},
Expand Down

0 comments on commit ad19150

Please sign in to comment.