Cache node_modules
This commit is contained in:
parent
e74e232043
commit
749f01b271
6
.github/workflows/validate-typescript.yml
vendored
6
.github/workflows/validate-typescript.yml
vendored
@ -5,6 +5,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- name: Install modules
|
||||
run: yarn
|
||||
- name: Install modules (example/)
|
||||
|
Loading…
Reference in New Issue
Block a user