diff options
author | Miguel Angel Mulero Martinez <migmul@gmail.com> | 2022-10-05 09:33:11 +0300 |
---|---|---|
committer | Miguel Angel Mulero Martinez <migmul@gmail.com> | 2022-10-05 10:29:15 +0300 |
commit | d823308b7bc6f0e977172499167201b507439bfc (patch) | |
tree | 415dca0d23e3ea24fc2b4b6eb070c0e5036f6023 | |
parent | 7100376d8ff2251eda584ee1ab80595c84a6238b (diff) |
Add node_modules to cache action
-rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2caeb68a..b479041a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Cache node_modules + uses: actions/cache@v3 + with: + path: node_modules/ + key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} + - name: Install Node.js uses: actions/setup-node@v3 with: @@ -62,6 +68,12 @@ jobs: path: cache/ key: ${{ runner.os }}-${{ hashFiles('gulpfile.js') }} + - name: Cache node_modules + uses: actions/cache@v3 + with: + path: node_modules/ + key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} + - name: Install Node.js uses: actions/setup-node@v3 with: |