@davoodmehraban89 / medusa / commits / 61f7ae8f
Fork 0

Add isolated storefront CI tests and production build checks

davoodmehraban89 committed Oct 13, 2026 at 23:13 UTC 61f7ae8f6513898cdc3326aa39a641bf5cc224d9
1 file changed +35
.github/workflows/commerce-checks.yml new
+35
@@ -0,0 +1,35 @@
1 +name: Commerce storefront checks
2 +
3 +on:
4 + pull_request:
5 + paths:
6 + - "commerce/**"
7 + - ".github/workflows/commerce-checks.yml"
8 + push:
9 + branches:
10 + - "project/medusa-foundation-audit"
11 + paths:
12 + - "commerce/**"
13 + - ".github/workflows/commerce-checks.yml"
14 + workflow_dispatch:
15 +
16 +permissions:
17 + contents: read
18 +
19 +jobs:
20 + storefront:
21 + runs-on: ubuntu-latest
22 + defaults:
23 + run:
24 + working-directory: commerce
25 + steps:
26 + - uses: actions/checkout@v4
27 + - uses: actions/setup-node@v4
28 + with:
29 + node-version: "22"
30 + - name: Install standalone storefront dependencies
31 + run: npm install --no-audit --no-fund
32 + - name: Run unit tests
33 + run: npm test
34 + - name: Typecheck and build
35 + run: npm run build