From 498bcc16f5414d0254ce1dbd46f8150067df2624 Mon Sep 17 00:00:00 2001 From: Eddy Zhou Date: Wed, 29 May 2024 20:41:50 -0700 Subject: [PATCH] bruh --- .github/workflows/nextjs.yml | 18 +++++++++--------- next.config.js | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 260447a..eb4d8a2 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -51,16 +51,16 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "22" cache: ${{ steps.detect-package-manager.outputs.manager }} - # - name: Setup Pages - # uses: actions/configure-pages@v5 - # with: - # # Automatically inject basePath in your Next.js configuration file and disable - # # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). - # # - # # You may remove this line if you want to manage the configuration yourself. - # static_site_generator: next + - name: Setup Pages + uses: actions/configure-pages@v5 + with: + # Automatically inject basePath in your Next.js configuration file and disable + # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). + # + # You may remove this line if you want to manage the configuration yourself. + static_site_generator: next - name: Restore cache uses: actions/cache@v4 with: diff --git a/next.config.js b/next.config.js index e4282f3..74621cb 100644 --- a/next.config.js +++ b/next.config.js @@ -11,5 +11,5 @@ const nextConfig = { output: "export", reactStrictMode: true, }; - + module.exports = nextConfig;