Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Added a TypeScript 6 check for scaffolded apps

Claude7c3475383ed1
diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml
index 32dbf9f081..18f143ed6b 100644
--- a/.github/workflows/packages.yml
+++ b/.github/workflows/packages.yml
@@ -194,6 +194,18 @@ jobs:
pnpm install --no-frozen-lockfile
pnpm build && pnpm typecheck && pnpm lint
+ # New apps start on TypeScript 7, but apps created earlier stay on 6 and
+ # compile the dashboard packages' source with it, so both must keep
+ # type checking.
+ - name: Check both apps on TypeScript 6
+ if: ${{ !cancelled() }}
+ run: |
+ for app in dashboard seller-dashboard; do
+ cd "$RUNNER_TEMP/app/apps/$app"
+ pnpm add --save-dev typescript@~6.0.3
+ pnpm typecheck && pnpm build
+ done
+
sdk-integration:
name: "SDK Integration Tests"
runs-on: ubuntu-latest