-
Notifications
You must be signed in to change notification settings - Fork 0
[ENG-3641] Adds amplify support #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dnehl
wants to merge
1
commit into
main
Choose a base branch
from
eng-3641-migrate-perps-widget-off-vercel
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+113
−17
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 @@ | ||
| node-linker=hoisted |
This file contains hidden or 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,52 @@ | ||
| version: 1 | ||
| applications: | ||
| - appRoot: packages/widget | ||
| frontend: | ||
| buildPath: "/" # install and build from the monorepo root | ||
| phases: | ||
| preBuild: | ||
| commands: | ||
| - curl https://mise.run | MISE_VERSION=v2026.5.6 sh | ||
| - export PATH="$HOME/.local/bin:$PATH" | ||
| - export PATH="$HOME/.local/share/mise/shims:$PATH" | ||
| - mise install | ||
| - pnpm install --frozen-lockfile | ||
| - echo "VITE_PERPS_BASE_URL=$VITE_PERPS_BASE_URL" >> packages/widget/.env | ||
| - echo "VITE_PERPS_API_KEY=$VITE_PERPS_API_KEY" >> packages/widget/.env | ||
| - echo "VITE_REOWN_PROJECT_ID=$VITE_REOWN_PROJECT_ID" >> packages/widget/.env | ||
| - echo "VITE_MORALIS_API_KEY=$VITE_MORALIS_API_KEY" >> packages/widget/.env | ||
| build: | ||
| commands: | ||
| - pnpm build:widget | ||
| artifacts: | ||
| baseDirectory: packages/widget/dist | ||
| files: | ||
| - "**/*" | ||
| cache: | ||
| paths: | ||
| - node_modules/**/* | ||
| - appRoot: packages/dashboard | ||
| frontend: | ||
| buildPath: "/" # install and build from the monorepo root | ||
| phases: | ||
| preBuild: | ||
| commands: | ||
| - curl https://mise.run | MISE_VERSION=v2026.5.6 sh | ||
| - export PATH="$HOME/.local/bin:$PATH" | ||
| - export PATH="$HOME/.local/share/mise/shims:$PATH" | ||
| - mise install | ||
| - pnpm install --frozen-lockfile | ||
| - echo "VITE_PERPS_BASE_URL=$VITE_PERPS_BASE_URL" >> packages/dashboard/.env | ||
| - echo "VITE_PERPS_API_KEY=$VITE_PERPS_API_KEY" >> packages/dashboard/.env | ||
| - echo "VITE_REOWN_PROJECT_ID=$VITE_REOWN_PROJECT_ID" >> packages/dashboard/.env | ||
| - echo "VITE_MORALIS_API_KEY=$VITE_MORALIS_API_KEY" >> packages/dashboard/.env | ||
| build: | ||
| commands: | ||
| - pnpm build:dashboard | ||
| artifacts: | ||
| baseDirectory: packages/dashboard/dist | ||
| files: | ||
| - "**/*" | ||
| cache: | ||
| paths: | ||
| - node_modules/**/* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| [tools] | ||
|
|
||
| node="24" | ||
| pnpm="10" | ||
| node = "24.15.0" | ||
| "npm:pnpm" = "10.33.2" |
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major
🧩 Analysis chain
🏁 Script executed:
Repository: stakekit/perps-widget
Length of output: 1610
🏁 Script executed:
Repository: stakekit/perps-widget
Length of output: 507
🏁 Script executed:
Repository: stakekit/perps-widget
Length of output: 1946
🏁 Script executed:
Repository: stakekit/perps-widget
Length of output: 1946
🌐 Web query:
actions/checkout persist-credentials default true documentation💡 Result:
In the GitHub actions/checkout action, the persist-credentials input is enabled by default (default: true) [1][2]. When set to true (the default), the action configures the authentication token or SSH key with the local Git configuration [3][1]. This allows subsequent steps in your workflow to execute authenticated Git commands (such as git fetch or git push) without requiring additional configuration [3][4]. The action automatically removes these credentials during the post-job cleanup process [3][5]. If you wish to prevent the action from configuring these credentials, you can set persist-credentials to false [3][6]: - with: persist-credentials: false Recent updates have improved the security of this feature by storing credentials in a file under $RUNNER_TEMP rather than directly within.git/config, while maintaining the same default behavior and functionality [3][7].
Citations:
Disable persisted checkout credentials. This workflow only reads the repo, so
persist-credentials: falseavoids leaving the checkout token available to later install/build steps.🧰 Tools
🪛 zizmor (1.26.1)
[warning] 22-23: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
🤖 Prompt for AI Agents
Source: Linters/SAST tools