Skip to content

Commit

Permalink
upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
styu committed Nov 21, 2024
1 parent f58d8b1 commit 07b6344
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/e2e.sandbox.todowidget/src/main.config.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
16 changes: 8 additions & 8 deletions packages/e2e.sandbox.todowidget/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
// },
// },
// },
});

0 comments on commit 07b6344

Please sign in to comment.