Skip to content
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

feat: add Github Actions #31

Closed
wants to merge 15 commits into from
Closed

feat: add Github Actions #31

wants to merge 15 commits into from

Conversation

maiquanghiep
Copy link
Collaborator

No description provided.

NEXT_PUBLIC_DISPLAY_TESTING_MESSAGES=APP_NEXT_PUBLIC_DISPLAY_TESTING_MESSAGES \
npm run build

ARG NEXT_PUBLIC_MEMPOOL_API
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to name the args the same way as the env variables? For example, why not just MEMPOOL_API for this one?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the difference with & without next prefix? seems optional for me. the only benefit that i see to make it without prefix is that it turn it into a implementation neutral env variable.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used NEXT_PUBLIC_* for ARGS to match with the .env.example for consistency

# - 'main'
# - 'dev'
# tags:
# - '*'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need those comments? What's the final form of this section?

runs-on: ubuntu-22.04
strategy:
matrix:
environment: [devnet, staging, mainnet]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about testnet?

runs-on: ubuntu-22.04
strategy:
matrix:
environment: [devnet, staging, mainnet]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

runs-on: ubuntu-22.04
strategy:
matrix:
environment: [devnet, staging, mainnet]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@maiquanghiep
Copy link
Collaborator Author

I will close this as it's better to merge to main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants