From a4e2e0a25cec3bee10609350ca4dc66873d9f5a3 Mon Sep 17 00:00:00 2001 From: Greg Skriloff <35093316+gskril@users.noreply.github.com> Date: Fri, 26 Sep 2025 12:26:51 -0400 Subject: [PATCH 1/6] Build website in CI --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5edf8c5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build + +on: + push: + pull_request: + +jobs: + build: + name: Website + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build From 22ec17843017bade29252ddbf85be7b29b026b4b Mon Sep 17 00:00:00 2001 From: Greg Skriloff <35093316+gskril@users.noreply.github.com> Date: Fri, 26 Sep 2025 12:35:32 -0400 Subject: [PATCH 2/6] Add dummy Alchemy API key --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5edf8c5..57c6d4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,8 @@ jobs: build: name: Website runs-on: ubuntu-latest + env: + NEXT_PUBLIC_ALCHEMY_API_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx steps: - name: Checkout code From da0cebf43e86517b95d00831f9a6ef0121eb4f70 Mon Sep 17 00:00:00 2001 From: Greg Skriloff <35093316+gskril@users.noreply.github.com> Date: Fri, 26 Sep 2025 12:43:33 -0400 Subject: [PATCH 3/6] Dummy WalletConnect project id --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57c6d4c..e3be5b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,8 @@ jobs: name: Website runs-on: ubuntu-latest env: - NEXT_PUBLIC_ALCHEMY_API_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + NEXT_PUBLIC_ALCHEMY_API_KEY: xxxxxxxx + NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: xxxxxxxx steps: - name: Checkout code From 89b6c36e6e1d9f47bfe9e28569b0ca39ffde9c6d Mon Sep 17 00:00:00 2001 From: Greg Skriloff <35093316+gskril@users.noreply.github.com> Date: Fri, 26 Sep 2025 12:46:13 -0400 Subject: [PATCH 4/6] Bump node and typescript --- package-lock.json | 29 ++++++++++++++++------------- package.json | 4 ++-- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index d271004..2a7fba4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,14 +23,14 @@ "wagmi": "^2.17.5" }, "devDependencies": { - "@types/node": "^20", + "@types/node": "^24.5.2", "@types/react": "^18", "@types/react-dom": "^18", "eslint": "^8", "eslint-config-next": "15.0.2", "postcss": "^8", "tailwindcss": "^3.4.1", - "typescript": "^5" + "typescript": "^5.9.2" } }, "node_modules/@adraffy/ens-normalize": { @@ -3307,12 +3307,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.17.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.6.tgz", - "integrity": "sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==", + "version": "24.5.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.5.2.tgz", + "integrity": "sha512-FYxk1I7wPv3K2XBaoyH2cTnocQEu8AOZ60hPbsyukMPLv5/5qr7V1i8PLHdl6Zf87I+xZXFvPCXYjiTFq+YSDQ==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~7.12.0" } }, "node_modules/@types/prop-types": { @@ -10852,10 +10853,11 @@ } }, "node_modules/typescript": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "version": "5.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz", + "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", "devOptional": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -10934,10 +10936,11 @@ "license": "MIT" }, "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "dev": true + "version": "7.12.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.12.0.tgz", + "integrity": "sha512-goOacqME2GYyOZZfb5Lgtu+1IDmAlAEu5xnD3+xTzS10hT0vzpf0SPjkXwAw9Jm+4n/mQGDP3LO8CPbYROeBfQ==", + "dev": true, + "license": "MIT" }, "node_modules/uri-js": { "version": "4.4.1", diff --git a/package.json b/package.json index e78728d..5a2b534 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,13 @@ "wagmi": "^2.17.5" }, "devDependencies": { - "@types/node": "^20", + "@types/node": "^24.5.2", "@types/react": "^18", "@types/react-dom": "^18", "eslint": "^8", "eslint-config-next": "15.0.2", "postcss": "^8", "tailwindcss": "^3.4.1", - "typescript": "^5" + "typescript": "^5.9.2" } } From 99ac9406ad23684c690e454ebfd99094b9b3d9bb Mon Sep 17 00:00:00 2001 From: Greg Skriloff <35093316+gskril@users.noreply.github.com> Date: Fri, 26 Sep 2025 12:50:28 -0400 Subject: [PATCH 5/6] Scope builds --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3be5b2..100506a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,9 @@ name: Build on: push: + branches: [main] pull_request: + branches: [main] jobs: build: From bf0235d358cf648a522ce376fb86a6038fa82f39 Mon Sep 17 00:00:00 2001 From: Greg Skriloff <35093316+gskril@users.noreply.github.com> Date: Fri, 26 Sep 2025 12:51:39 -0400 Subject: [PATCH 6/6] Bump node version --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 100506a..31ab637 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "24" - name: Install dependencies run: npm ci