Skip to content

Commit efe0a81

Browse files
authored
Update jekyll.yml
1 parent 113fb6b commit efe0a81

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/jekyll.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,25 @@ jobs:
4343
- name: Setup Pages
4444
id: pages
4545
uses: actions/configure-pages@v2
46+
- name: Restore npm cache
47+
uses: actions/cache@v2
48+
with:
49+
path: ~/.npm
50+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
51+
restore-keys: |
52+
${{ runner.os }}-node-
53+
- uses: actions/cache@v2
54+
with:
55+
path: node_modules
56+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
57+
restore-keys: |
58+
${{ runner.os }}-node-modules-
59+
- name: Use Node.js 14
60+
uses: actions/setup-node@v2
61+
with:
62+
node-version: '14'
63+
- name: Install dependencies
64+
run: npm install
4665
- name: Generate Data
4766
run: make generated_data
4867
- name: Build with Jekyll

0 commit comments

Comments
 (0)