diff --git a/.github/workflows/mainnet-frontend.yml b/.github/workflows/mainnet-frontend.yml index ca02011cc..44e23fe17 100644 --- a/.github/workflows/mainnet-frontend.yml +++ b/.github/workflows/mainnet-frontend.yml @@ -1,9 +1,6 @@ name: Frontend CI on: - push: - branches: - - develop pull_request: branches: - develop @@ -19,14 +16,14 @@ env: jobs: codecov: -# if: github.event.pull_request.merged == true + if: github.event.pull_request.merged == true runs-on: powerfulubuntu steps: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 get-diff: -# if: github.event.pull_request.merged == true + if: github.event.pull_request.merged == true runs-on: powerfulubuntu environment: mainnet outputs: @@ -60,7 +57,7 @@ jobs: fi deploy-web: -# if: needs.get-diff.outputs.file_exists == 'true' + if: needs.get-diff.outputs.file_exists == 'true' runs-on: powerfulubuntu environment: mainnet needs: [get-diff] diff --git a/web/leaderboard/sentry.client.config.ts b/web/leaderboard/sentry.client.config.ts index 4d1aba660..64c547684 100644 --- a/web/leaderboard/sentry.client.config.ts +++ b/web/leaderboard/sentry.client.config.ts @@ -1,6 +1,7 @@ // This file configures the initialization of Sentry on the client. // The config you add here will be used whenever a users loads a page in their browser. // https://docs.sentry.io/platforms/javascript/guides/nextjs/ +// import * as Sentry from "@sentry/nextjs";