Skip to content

Commit 779a1ea

Browse files
removing setup pages step and corresponding injections to config.next.js
Signed-off-by: greg pereira <[email protected]>
1 parent 0266297 commit 779a1ea

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/nextjs.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ jobs:
3939
with:
4040
node-version: '20'
4141
cache: yarn
42-
- name: Setup Pages
43-
uses: actions/configure-pages@v4
44-
with:
45-
# Automatically inject basePath in your Next.js configuration file and disable
46-
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
47-
#
48-
# You may remove this line if you want to manage the configuration yourself.
49-
static_site_generator: next
5042
- name: Restore cache
5143
uses: actions/cache@v4
5244
with:
@@ -62,6 +54,15 @@ jobs:
6254
run: yarn install
6355
- name: Lint check
6456
run: yarn lint
57+
- name: Format check
58+
run: yarn format:check
59+
- name: Setup tmate session
60+
if: ${{ failure() }}
61+
uses: mxschmitt/[email protected]
62+
timeout-minutes: 15
63+
with:
64+
detached: false
65+
limit-access-to-actor: true
6566
- name: Build with Next.js
6667
run: yarn build
6768
- name: Upload artifact

next.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ const path = require('path'); // eslint-disable-line @typescript-eslint/no-var-r
44

55
const nextConfig = {
66
output: 'export',
7+
experimental: {
8+
images: {
9+
unoptimized: true,
10+
},
11+
},
12+
basePath: '',
713
reactStrictMode: true,
814

915
compiler: {

0 commit comments

Comments
 (0)