From 7fdf38bba167a18643c61db093f55967df3d45b3 Mon Sep 17 00:00:00 2001 From: Vojtech Simetka Date: Mon, 8 Nov 2021 13:38:23 +0100 Subject: [PATCH] ci: preview pr on swarm (#225) * ci: add preview in bee action * chore: set Bee API and Bee Debug API --- .github/workflows/check.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 0c5f3df..1566b6e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -16,6 +16,10 @@ jobs: matrix: node-version: [14.x] + env: + REACT_APP_BEE_HOST: https://bee.simetka.cz + REACT_APP_BEE_DEBUG_HOST: https://debug.bee.simetka.cz + steps: - uses: actions/checkout@v2 with: @@ -50,11 +54,16 @@ jobs: - name: Dependency check run: npm run depcheck - - name: Build - run: npm run build - - name: Update supported Bee action uses: ethersphere/update-supported-bee-action@v1 if: github.ref == 'refs/heads/master' with: token: ${{ secrets.REPO_GHA_PAT }} + + - name: Build + run: npm run build + + - name: Create preview + uses: ethersphere/beeload-action@v1 + with: + preview: 'true'