From c196f59326ecba840c05aa9d6abdd41c98e98960 Mon Sep 17 00:00:00 2001 From: Giacomo Licari Date: Mon, 4 Sep 2023 18:01:38 +0200 Subject: [PATCH] Remove app.json, add PUBLIC_URL to build in CI --- .github/workflows/pr-preview.yml | 3 +++ app.json | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 app.json diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index efd1c56..28f038f 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -15,6 +15,9 @@ jobs: with: node-version: 16.14.2 + - name: Set env + run: echo "PUBLIC_URL=./pr-${{ github.event.number }}" >> $GITHUB_ENV + - name: NPM Install and Build run: | npm install diff --git a/app.json b/app.json deleted file mode 100644 index 738c031..0000000 --- a/app.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "gbc-deposit-ui", - "description": "Gnosis Beacon Chain Deposit UI", - "env": { - "REACT_APP_NETWORK_IDS": "100,10200", - "NODE_OPTIONS": "--max_old_space_size=1024" - } -} \ No newline at end of file