Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia committed Dec 6, 2024
1 parent 92de5f4 commit 010e6dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Build and Export
run: |
${{ steps.detect-package-manager.outputs.runner }} run build
${{ steps.detect-package-manager.outputs.runner }} run export
env:
NODE_OPTIONS: --openssl-legacy-provider
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
6 changes: 2 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const nextConfig = {
module.exports = {
output: 'export',
images: {
unoptimized: true,
},
}
}

module.exports = nextConfig
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"export": "next export",
"start": "next start"
},
"dependencies": {
Expand Down

0 comments on commit 010e6dc

Please sign in to comment.