diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e537617b..285827b47 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,8 +46,9 @@ jobs: if: github.repository_owner == 'microbit-foundation' - run: npm run ci env: - REACT_APP_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }} REACT_APP_GA_COOKIE_PREFIX: ${{ secrets.REACT_APP_GA_COOKIE_PREFIX }} + REACT_APP_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }} + REACT_APP_SENTRY_DSN: ${{ secrets.REACT_APP_SENTRY_DSN }} - run: mkdir -p /tmp/app${PUBLIC_URL} && cp -r build/* /tmp/app${PUBLIC_URL} && npx serve --no-clipboard -l 3000 /tmp/app & if: env.STAGE == 'REVIEW' || env.STAGE == 'STAGING' - run: curl --insecure -4 --retry 7 --retry-connrefused http://localhost:3000 1>/dev/null