1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

Cache node_modules

This commit is contained in:
Tatsunori Uchino 2021-01-11 15:48:43 +09:00
parent f3a3c389f7
commit da65732dbb

View file

@ -30,6 +30,13 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodejs }}
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Build