pnpm buildpnpm devnpx env-cmd -f .env.development.goerli pnpm devcd apps/web
npx env-cmd -f ../../.env.test pnpm testWith headless
cd apps/web
npx env-cmd -f ../../.env.test pnpm test:headlessWith build
cd apps/web
npx env-cmd -f ../../.env.test pnpm test:buildExample of .env.test for local chain.
NEXT_PUBLIC_CHAIN_ID='31337'
NETWORK_NAME="hardhat"
TEST_PROVIDER_ENDPOINT="http://localhost:8545"
- Comment out BASIC_AUTH_USER and BASIC_AUTH_PASS in your .env while e2e test
-
Add template name to packages/lib/constants/templates.ts
-
Create a directory under packages/ui/components/templates and packages/ui/hooks
-
Add components and hooks as needed
-
Add switch conditions to the following files
- packages/ui/components/AuctionCard.tsx
- packages/ui/components/templates/AuctionDetail.tsx
- packages/ui/components/templates/AuctionFormWrapper.tsx
cd subgraph
graph codegen && graph build
graph deploy --studio SUBGRAPH_NAMEcd subgraph
graph testSimulate github workflow locally with nektos/act https://github.com/nektos/act
act pull_request --secret-file .env.test.actions.secrets --env-file .env.test.actions --artifact-server-path /PATH/TO/ARTIFACTS/ --artifact-server-addr $(ipconfig getifaddr en0)