diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdef98357..e881476f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,3 +108,20 @@ jobs: - name: Verify nothing added run: u="$(git ls-files --others --exclude-standard)" && test -z "$u" + - name: TEMPORARY - pnpm pack API package for use + run: cd packages/widget.api.unstable && pnpm pack + - name: Archive NPM packages + uses: actions/upload-artifact@v4 + with: + name: npm-packages + path: | + packages/widget.api.unstable/osdk-widget-api.unstable-*.tgz + - name: TEMPORARY - zip e2e bundle for use + run: cd packages/e2e.sandbox.todowidget && zip -r e2e.sandbox.todowidget.zip dist/ + - name: Archive E2E bundle + uses: actions/upload-artifact@v4 + with: + name: e2e-bundle + path: | + packages/e2e.sandbox.todowidget/e2e.sandbox.todowidget.zip + diff --git a/packages/e2e.sandbox.todowidget/src/main.config.ts b/packages/e2e.sandbox.todowidget/src/main.config.ts index 686f4d452..ba3101960 100644 --- a/packages/e2e.sandbox.todowidget/src/main.config.ts +++ b/packages/e2e.sandbox.todowidget/src/main.config.ts @@ -1,7 +1,7 @@ import { defineConfig } from "@osdk/widget-client.unstable"; export default defineConfig({ - rid: "ri.viewregistry..view.0000-0000-0000-0000", + rid: "ri.viewregistry..view.322ac3f9-08f8-456d-80a8-ceb49e145f62", parameters: { headerText: { displayName: "Widget title", diff --git a/packages/e2e.sandbox.todowidget/vite.config.ts b/packages/e2e.sandbox.todowidget/vite.config.ts index 23c4dabc1..1b93f8ea8 100644 --- a/packages/e2e.sandbox.todowidget/vite.config.ts +++ b/packages/e2e.sandbox.todowidget/vite.config.ts @@ -9,12 +9,12 @@ export default defineConfig({ server: { port: 8080, }, - build: { - rollupOptions: { - input: { - main: fileURLToPath(new URL("./index.html", import.meta.url)), - second: fileURLToPath(new URL("./second.html", import.meta.url)), - }, - }, - }, + // build: { + // rollupOptions: { + // input: { + // main: fileURLToPath(new URL("./index.html", import.meta.url)), + // second: fileURLToPath(new URL("./second.html", import.meta.url)), + // }, + // }, + // }, });