diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6faee88c5..d61e28d0b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -11,13 +11,11 @@ jobs: - uses: taiga-family/ci/actions/setup/variables@v1.93.5 - uses: taiga-family/ci/actions/setup/node@v1.93.5 - uses: taiga-family/ci/actions/setup/playwright@v1.93.5 - - run: npx nx prerender editor-demo + - run: npx nx prerender editor-demo -c development - uses: taiga-family/ci/actions/run/serve@v1.93.5 with: port: ${{ env.NG_SERVER_PORT }} directory: ${{ env.DIST }} - replaceBaseUrlFrom: /editor/ - replaceBaseUrlTo: / - run: npx nx e2e editor-demo-playwright -- --update-snapshots @@ -30,8 +28,6 @@ jobs: with: port: ${{ env.NG_SERVER_PORT }} directory: ${{ env.DIST_NEXT }} - replaceBaseUrlFrom: /editor/ - replaceBaseUrlTo: / - run: npx nx e2e editor-demo-playwright continue-on-error: true diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index bd4e7d8c2..d3630ce2c 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -11,7 +11,7 @@ jobs: - uses: taiga-family/ci/actions/setup/variables@v1.93.5 - uses: taiga-family/ci/actions/setup/node@v1.93.5 - - run: npx nx build editor-demo + - run: npx nx prerender editor-demo -c development - run: tree ${{ env.DIST }} -P '*.html' - id: info diff --git a/projects/demo/project.json b/projects/demo/project.json index 6bb9df918..06e082fca 100644 --- a/projects/demo/project.json +++ b/projects/demo/project.json @@ -63,13 +63,12 @@ "vendorChunk": false, "buildOptimizer": true }, - "ssr": { - "baseHref": "/" - }, "github": { "baseHref": "/editor/" }, - "development": {} + "development": { + "baseHref": "/" + } }, "defaultConfiguration": "production" }, @@ -130,7 +129,10 @@ "guessRoutes": false }, "configurations": { - "production": {} + "production": {}, + "development": { + "browserTarget": "editor-demo:build:production,development" + } }, "defaultConfiguration": "production", "dependsOn": [