From 8d798579ebc5e4ebc0d8b27c07928933becd1c91 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 18 May 2020 18:05:36 +0100 Subject: [PATCH] adding builder route for testing --- .github/workflows/release.yml | 8 ++-- packages/builder/src/pages/_builder.svelte | 48 ++++++++++++++++++++++ packages/server/src/electron.js | 2 +- 3 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 packages/builder/src/pages/_builder.svelte diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1081904a0..87fe57ebf8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Budibase Release on: - # Trigger the workflow on push, - # but only for the release branch + # Trigger the workflow on push with tags, + # but only for the master branch push: branches: - master @@ -25,10 +25,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: yarn - # - run: yarn lint + - run: yarn lint - run: yarn bootstrap - run: yarn build - # - run: yarn test + - run: yarn test - name: Prepare for app notarization (macOS) if: startsWith(matrix.os, 'macos') diff --git a/packages/builder/src/pages/_builder.svelte b/packages/builder/src/pages/_builder.svelte new file mode 100644 index 0000000000..7c1fc5920e --- /dev/null +++ b/packages/builder/src/pages/_builder.svelte @@ -0,0 +1,48 @@ + + +
+ {#await promise} +
+ +
+ {:then result} + + {:catch err} +

{err}

+ {/await} +
+ + diff --git a/packages/server/src/electron.js b/packages/server/src/electron.js index 7aff411e12..96fe7cd6c3 100644 --- a/packages/server/src/electron.js +++ b/packages/server/src/electron.js @@ -13,7 +13,7 @@ if (isDev) { }) } -const APP_URL = "http://localhost:4001" +const APP_URL = "http://localhost:4001/_builder" const APP_TITLE = "Budibase Builder" let win