File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed
Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -199,3 +199,17 @@ jobs:
199199 idp_aws_report_upload_region : " ${{ secrets.IDP_AWS_REPORT_UPLOAD_REGION }}"
200200 idp_aws_report_upload_role_name : " ${{ secrets.IDP_AWS_REPORT_UPLOAD_ROLE_NAME }}"
201201 idp_aws_report_upload_bucket_endpoint : " ${{ secrets.IDP_AWS_REPORT_UPLOAD_BUCKET_ENDPOINT }}"
202+ cache-npm-dependencies :
203+ name : " Cache npm dependencies"
204+ runs-on : ubuntu-latest
205+ timeout-minutes : 5
206+ steps :
207+ - name : " Checkout code"
208+ uses : actions/checkout@v5
209+ - uses : actions/setup-node@v6
210+ with :
211+ node-version : 24.10.0
212+ cache : ' npm'
213+ cache-dependency-path : ' package-lock.json'
214+ - name : " Repo setup"
215+ run : npm ci
Original file line number Diff line number Diff line change 5656 with :
5757 node-version : 24.10.0
5858 cache : ' npm'
59+ cache-dependency-path : ' package-lock.json'
5960 - name : " Repo setup"
6061 run : npm ci
6162 - name : " Generate dependencies"
6970 steps :
7071 - name : " Checkout code"
7172 uses : actions/checkout@v5
72- - uses : actions/setup-node@v6
73- with :
74- node-version : 24.10.0
75- cache : ' npm'
7673 - name : " Repo setup"
77- run : npm ci
74+ run : |
75+ npm ci
7876 - name : " Generate dependencies"
7977 run : |
8078 npm run generate-dependencies --workspaces --if-present
@@ -109,6 +107,7 @@ jobs:
109107 with :
110108 node-version : 24.10.0
111109 cache : ' npm'
110+ cache-dependency-path : ' package-lock.json'
112111 - name : " Repo setup"
113112 run : npm ci
114113 - name : " Generate dependencies"
@@ -128,6 +127,7 @@ jobs:
128127 with :
129128 node-version : 24.10.0
130129 cache : ' npm'
130+ cache-dependency-path : ' package-lock.json'
131131 - name : " Repo setup"
132132 run : npm ci
133133 - name : " Generate dependencies"
You can’t perform that action at this time.
0 commit comments