Skip to content

Commit d9317c8

Browse files
committed
fix: GitHub Actions
1 parent 0f66809 commit d9317c8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
shell: bash
4242
run: echo "PKG_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
4343

44-
- name: Setup Pages
45-
uses: actions/configure-pages@v5
46-
# with:
47-
# # Automatically inject basePath in your Next.js configuration file and disable
48-
# # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
49-
# static_site_generator: next
44+
# - name: Setup Pages
45+
# uses: actions/configure-pages@v5
46+
# with:
47+
# # Automatically inject basePath in your Next.js configuration file and disable
48+
# # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
49+
# static_site_generator: next
5050

5151
- name: Restore cache
5252
uses: actions/cache@v4
@@ -55,7 +55,7 @@ jobs:
5555
${{ env.STORE_PATH }}
5656
${{ github.workspace }}/.next/cache
5757
# Generate a new cache whenever packages or source files change.
58-
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
58+
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.mjs', '**/*.ts', '**/*.tsx', '**/*.mdx') }}
5959
# If source files changed but packages didn't, rebuild from a prior cache.
6060
restore-keys: |
6161
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-

0 commit comments

Comments
 (0)