mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 23:16:59 +00:00
used yarn build
This commit is contained in:
parent
6f97bceb96
commit
be580666a4
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
uses: cypress-io/github-action@v3.0.4
|
||||
with:
|
||||
browser: chrome
|
||||
build: npm run build
|
||||
build: yarn build
|
||||
start: yarn start
|
||||
wait-on: 'http://localhost:3000'
|
||||
env:
|
||||
|
@ -298,6 +298,10 @@ _______
|
||||
|
||||
Question here; why do we need to run `npm run build` ? We are just serving the app here. Is it a NextJs requirement to build the app before it can be served? We did not need it locally.
|
||||
|
||||
|
||||
|
||||
https://github.com/muratkeremozcan/nextjs-cypress/runs/6289265533?check_suite_focus=true#step:3:60
|
||||
|
||||
______
|
||||
|
||||
We need to add `NEXT_PUBLIC_COMMERCE_SEARCH_ENABLED=true` from the above section, since we did this change in the `.env.local` file.
|
||||
@ -341,4 +345,3 @@ When did we create a `header.spec.js` file? It is possible that one might miss t
|
||||
└── index.js
|
||||
```
|
||||
|
||||
https://github.com/muratkeremozcan/nextjs-cypress/runs/6289265533?check_suite_focus=true#step:3:60
|
||||
|
Loading…
x
Reference in New Issue
Block a user