Skip to content

Commit bb7bc55

Browse files
committed
chore: parse checkout main dir
1 parent 9f7148e commit bb7bc55

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/generate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
sparse-checkout: |
6060
doc/api
6161
lib
62+
.
6263
path: node
6364

6465
- name: Setup Node.js

scripts/vercel-prepare.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ git clone --depth 1 --filter=blob:none --sparse https://github.com/nodejs/node.g
55
cd node
66

77
# Enable sparse checkout and specify the folder
8-
git sparse-checkout set doc/
8+
git sparse-checkout set lib
9+
git sparse-checkout set doc/api
10+
git sparse-checkout set .
911

1012
# Move back out
1113
cd ..

0 commit comments

Comments
 (0)