Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/betaflight/betaflight-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Angel Mulero Martinez <migmul@gmail.com>2022-10-05 09:33:11 +0300
committerMiguel Angel Mulero Martinez <migmul@gmail.com>2022-10-05 10:29:15 +0300
commitd823308b7bc6f0e977172499167201b507439bfc (patch)
tree415dca0d23e3ea24fc2b4b6eb070c0e5036f6023
parent7100376d8ff2251eda584ee1ab80595c84a6238b (diff)
Add node_modules to cache action
-rw-r--r--.github/workflows/ci.yml12
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: