File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,10 @@ yarn init
33
33
"repository" : " https://github.com/curder/code-snippets.git" ,
34
34
"author" :
" curder <[email protected] >" ,
35
35
"license" : " MIT" ,
36
- "type" : " module"
36
+ "type" : " module" ,
37
+ "engines" : {
38
+ "node" : " >= 18"
39
+ },
37
40
}
38
41
```
39
42
:::
@@ -62,13 +65,16 @@ echo '<!--@include: ./README.md-->' > docs/index.md
62
65
"author" :
" curder <[email protected] >" ,
63
66
"license" : " MIT" ,
64
67
"type" : " module" ,
68
+ "engines" : {
69
+ "node" : " >= 18"
70
+ },
65
71
"scripts" : { // [!code focus]
66
72
"docs:dev" : " vitepress dev docs" , // [!code focus]
67
73
"docs:build" : " vitepress build docs" , // [!code focus]
68
74
"docs:preview" : " vitepress preview docs" // [!code focus]
69
75
}, // [!code focus]
70
76
"devDependencies" : {
71
- "vitepress" : " ^1.1 .4"
77
+ "vitepress" : " ^1.3 .4"
72
78
}
73
79
}
74
80
```
174
180
175
181
jobs :
176
182
build-docs :
177
- runs-on : ubuntu-22 .04
183
+ runs-on : ubuntu-24 .04
178
184
permissions :
179
185
contents : write
180
186
concurrency :
@@ -188,7 +194,7 @@ jobs:
188
194
- name : Setup Node
189
195
uses : actions/setup-node@v3
190
196
with :
191
- node-version : ' 16 .x'
197
+ node-version : ' 18 .x'
192
198
193
199
- name : Get yarn cache
194
200
id : yarn-cache
You can’t perform that action at this time.
0 commit comments