Skip to content

Commit

Permalink
eh?
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Feb 16, 2024
1 parent 56487a3 commit 4cc5618
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
with:
version: 8
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@marigold/components": "^7.3.3",
"@marigold/theme-b2b": "^27.0.3",
"@mdx-js/rollup": "^3.0.1",
"@types/node": "^20.11.19",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
18 changes: 15 additions & 3 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { remarkCodeHike } from "@code-hike/mdx";
export default defineConfig(async () => {
const mdx = await import("@mdx-js/rollup");
return {
// eslint-disable-next-line no-undef
base: process.env.NODE_ENV === "production" ? "/validation-slides" : "/",
optimizeDeps: {
include: ["react/jsx-runtime"],
},
Expand Down

0 comments on commit 4cc5618

Please sign in to comment.