File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,19 @@ jobs:
3333 - name : Install Playwright Browsers
3434 run : npx playwright install --with-deps
3535
36- - name : Run tests on static build
36+ - name : Build website
3737 env :
3838 PUBLIC_API_URL : https://cms.correlaid.org
3939 PUBLIC_PRERENDER : ALL
4040 PUBLIC_ADAPTER : STATIC
4141 PUBLIC_PREVIEW : FALSE
4242 PUBLIC_ON_CMS_ERROR : FAIL
4343 DIRECTUS_TOKEN : ${{ secrets.DIRECTUS_TOKEN }}
44- run : npm run build-and-test
44+ BUILD_DIR : ' build/'
45+ run : npm run build
46+
47+ - name : Run tests on static build
48+ run : npm run e2e
4549
4650 - uses : actions/upload-artifact@v4
4751 if : always()
5357 - name : Deploy to Vercel
5458 uses : amondnet/vercel-action@v20
5559 with :
60+ scope : ${{ secrets.ORG_ID }}
5661 vercel-token : ${{ secrets.VERCEL_TOKEN }}
5762 vercel-org-id : ${{ secrets.ORG_ID }}
5863 vercel-project-id : ${{ secrets.PROJECT_ID }}
Original file line number Diff line number Diff line change @@ -13,4 +13,5 @@ vite.config.ts.timestamp-*
1313/playwright /.cache /
1414tests-examples
1515* .local
16- /chrome
16+ /chrome
17+ .vercel
You can’t perform that action at this time.
0 commit comments