File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,24 @@ jobs:
12
12
steps :
13
13
- name : Checkout Repository
14
14
uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 1 # Shallow clone
17
+
18
+ - name : Increase Git Buffer Size
19
+ run : git config --global http.postBuffer 524288000 # 500 MB
15
20
16
21
- name : Set up Node.js
17
22
uses : actions/setup-node@v4
18
23
with :
19
- node-version : ' 18.x' # Ensure the version matches your local environment
24
+ node-version : ' 18.x'
25
+
26
+ - name : Cache Node.js Modules
27
+ uses : actions/cache@v3
28
+ with :
29
+ path : ~/.npm
30
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-node-
20
33
21
34
- name : Install Dependencies
22
35
run : npm install --legacy-peer-deps
29
42
with :
30
43
name : dist
31
44
path : dist
32
-
33
- - name : Clean up Cache
34
- run : npm cache clean --force
35
-
36
- - name : List Files in dist
37
- run : ls -la dist # Verify the contents of the dist directory
You can’t perform that action at this time.
0 commit comments