diff --git a/.github/workflows/publish-gh-pages.yml b/.github/workflows/publish-gh-pages.yml index 83d9c93b..aac99482 100644 --- a/.github/workflows/publish-gh-pages.yml +++ b/.github/workflows/publish-gh-pages.yml @@ -44,16 +44,16 @@ jobs: # # 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: - # path: | - # .next/cache - # # Generate a new cache whenever packages or source files change. - # key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # # If source files changed but packages didn't, rebuild from a prior cache. - # restore-keys: | - # ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- + - name: Restore cache + uses: actions/cache@v4 + with: + path: | + .next/cache + # Generate a new cache whenever packages or source files change. + key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} + # If source files changed but packages didn't, rebuild from a prior cache. + restore-keys: | + ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- - name: Install dependencies run: yarn install - name: Build with Next.js diff --git a/client/next.config.js b/client/next.config.js new file mode 100644 index 00000000..7c6d6c73 --- /dev/null +++ b/client/next.config.js @@ -0,0 +1 @@ +module.exports = {} \ No newline at end of file diff --git a/client/next.config.mjs b/client/next.config.mjs deleted file mode 100644 index cd1fd026..00000000 --- a/client/next.config.mjs +++ /dev/null @@ -1,8 +0,0 @@ -/** @type {import('next').NextConfig} */ - -const nextConfig = { - // output: 'export', - -}; - -export default nextConfig;