Skip to content

Commit

Permalink
fix: GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
riipandi committed Feb 19, 2025
1 parent c2793a1 commit 4ba0753
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
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).
static_site_generator: false
static_site_generator: next

- name: Restore cache
uses: actions/cache@v4
Expand Down
16 changes: 10 additions & 6 deletions next.config.mjs → next.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
import { createMDX } from 'fumadocs-mdx/next'
import { isProduction } from 'std-env'
import type { NextConfig } from 'next'

const withMDX = createMDX()

/** @type {import('next').NextConfig} */
const nextConfig = {
const nextConfig: NextConfig = {
output: 'export',
cleanDistDir: true,
reactStrictMode: true,
poweredByHeader: false,
productionBrowserSourceMaps: false,
images: { remotePatterns: [{ protocol: 'https', hostname: '**' }] },
eslint: { ignoreDuringBuilds: isProduction },
typescript: { ignoreBuildErrors: isProduction },
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
],
},
logging: { fetches: { fullUrl: true } },
}

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"next": "15.1.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"std-env": "^3.8.0",
"tailwind-merge": "^3.0.1"
},
"devDependencies": {
Expand Down
8 changes: 0 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ba0753

Please sign in to comment.