Skip to content

Commit

Permalink
Set environment variables for deployment in GitHub Actions (#14)
Browse files Browse the repository at this point in the history
Added NEXT_PUBLIC_IS_DEPLOYMENT and NEXT_PUBLIC_NETWORK_TYPE to the Lint job in check.yml. This ensures the correct environment configuration for testing on the "testnet" network during CI/CD workflows.

Signed-off-by: Justin <[email protected]>
  • Loading branch information
justinbarry authored Oct 18, 2024
1 parent 0fa9f54 commit 249c8e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ on:
push:
branches:
- "main"
pull_request:
branches:
- main

jobs:
Lint:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_IS_DEPLOYMENT: true
NEXT_PUBLIC_NETWORK_TYPE: "testnet"

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down

0 comments on commit 249c8e8

Please sign in to comment.