forked from blockscout/frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/blockscout/frontend into sy…
…nc-29-11 # Conflicts: # ui/tx/TxDetails.tsx
- Loading branch information
Showing
185 changed files
with
3,374 additions
and
991 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Upload source maps to Sentry | ||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
env: | ||
SENTRY_ORG: ${{ vars.SENTRY_ORG }} | ||
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }} | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | ||
|
||
jobs: | ||
build_and_upload: | ||
name: Build app with source maps and upload to Sentry | ||
runs-on: ubuntu-latest | ||
if: ${{ github.ref_type == 'tag' }} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'yarn' | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
id: cache-node-modules | ||
with: | ||
path: | | ||
node_modules | ||
key: node_modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }} | ||
|
||
- name: Install dependencies | ||
if: steps.cache-node-modules.outputs.cache-hit != 'true' | ||
run: yarn --frozen-lockfile --ignore-optional | ||
|
||
- name: Make production build with source maps | ||
run: yarn build | ||
env: | ||
NODE_ENV: production | ||
|
||
- name: Inject Sentry debug ID | ||
run: yarn sentry-cli sourcemaps inject ./.next | ||
|
||
- name: Upload source maps to Sentry | ||
run: yarn sentry-cli sourcemaps upload --release=${{ github.ref_name }} --validate ./.next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
/out/ | ||
/public/assets/ | ||
/public/envs.js | ||
/analyze | ||
|
||
# production | ||
/build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
NEXT_PUBLIC_SENTRY_DSN=https://sentry.io | ||
SENTRY_CSP_REPORT_URI=https://sentry.io | ||
NEXT_PUBLIC_SENTRY_ENABLE_TRACING=true | ||
NEXT_PUBLIC_APP_ENV=production | ||
NEXT_PUBLIC_APP_INSTANCE=duck |
Oops, something went wrong.