Skip to content

Commit 42b8217

Browse files
authored
fix build (#2)
* fix build * fix build
1 parent b849ebd commit 42b8217

File tree

5 files changed

+30
-11
lines changed

5 files changed

+30
-11
lines changed

.github/workflows/astro-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Node
2121
uses: actions/setup-node@v2
2222
with:
23-
node-version: "22" # Укажите нужную версию Node.js
23+
node-version: "22.11.0" # Укажите нужную версию Node.js
2424

2525
- name: Deps
2626
run: npm install

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.11.0

package-lock.json

Lines changed: 25 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
"react-dom": "^18.2.0",
2222
"tailwindcss": "^3.4.1",
2323
"typescript": "^5.7.2"
24+
},
25+
"engines": {
26+
"node": ">=22"
2427
}
2528
}

src/pages/user-guide.astro

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ const breadcrumbs = [
1313
1414
const entry = await getEntry('guide', 'index');
1515
16-
console.log({ entry });
17-
18-
if (entry) {
19-
20-
}
2116
const {Content} = entry ? await render(entry) : { Content: () => null };
2217
---
2318

0 commit comments

Comments
 (0)