diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 452b850..a920a8c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -44,7 +44,7 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v4 - name: Install dependencies - run: npm i --ignore-optional # or pnpm install / yarn install / bun install + run: npm ci --omit=optional --legacy-peer-deps # or pnpm install / yarn install / bun install - name: Build with VitePress run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build - name: Upload artifact