Skip to content

Commit

Permalink
npm
Browse files Browse the repository at this point in the history
  • Loading branch information
micahkendall committed May 11, 2024
1 parent b4669a9 commit 827e6dc
Show file tree
Hide file tree
Showing 4 changed files with 4,989 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,28 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Setup Node.js ⚙️
uses: actions/setup-node@v4
with:
bun-version: latest
node-version: 20

- name: Cache dependencies ⚡
id: cache_dependencies
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}

- name: Setup Pages
uses: actions/configure-pages@v5
with:
static_site_generator: next
- name: Install dependencies
run: bun i
- name: Install dependencies 🔧
shell: bash
if: steps.cache_dependencies.outputs.cache-hit != 'true'
run: npm ci
- name: Build
run: bun run build
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
Binary file removed bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ module.exports = {
basePath: "/blaze-site",
output: "export",
images: { unoptimized: true },
reactStrictMode: true,
}),
};
Loading

0 comments on commit 827e6dc

Please sign in to comment.