Skip to content

Commit 20312df

Browse files
committed
fix(ci): fixes issue with ci script stopping the docs deploy
was missing the gh-pages as the npm cache was not restored - marked as feature so to test the deployment
1 parent f1da1bf commit 20312df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,14 @@ jobs:
149149
uses: actions/setup-node@v1
150150
with:
151151
node-version: ${{ env.NODE_VERSION }}
152+
- name: Restore dependencies
153+
uses: actions/cache@v2
154+
id: cache-dependencies
155+
with:
156+
path: node_modules
157+
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
158+
restore-keys: |
159+
${{ runner.os }}-npm-
152160
- name: Download build artifacts
153161
uses: actions/download-artifact@v2
154162
with:

0 commit comments

Comments
 (0)