Skip to content

Commit

Permalink
build: cache node_modules in docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Apr 25, 2021
1 parent c202396 commit dab7cba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
sudo apt update
sudo apt install libkrb5-dev
- name: Cache node_modules
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install
run: |
yarn config set ignore-engines true
Expand Down

0 comments on commit dab7cba

Please sign in to comment.