message: CI: Use cache for node_modules
diff: @@ -14,7 +14,14 @@ jobs:
  with:
  node-version: "16.15.0"
  cache: 'npm'
  + - name: Cache dependencies
  + id: cache
  + uses: actions/cache@v3
  + with:
  + path: ./node_modules
  + key: modules-${{ hashFiles('package-lock.json') }}
  - name: Install dependencies
  + if: steps.cache.outputs.cache-hit != 'true'
  run: npm ci
  - name: Run lint script
  run: npm run lint
  @@ -28,7 +35,14 @@ jobs:
  with:
  node-version: "16.15.0"
  cache: 'npm'
  + - name: Cache dependencies
  + id: cache
  + uses: actions/cache@v3
  + with:
  + path: ./node_modules
  + key: modules-${{ hashFiles('package-lock.json') }}
  - name: Install dependencies
  + if: steps.cache.outputs.cache-hit != 'true'
  run: npm ci
  - name: Run build script
  run: npm run build
  @@ -71,7 +85,14 @@ jobs:
  with:
  node-version: "16.15.0"
  cache: 'npm'
  + - name: Cache dependencies
  + id: cache
  + uses: actions/cache@v3
  + with:
  + path: ./node_modules
  + key: modules-${{ hashFiles('package-lock.json') }}
  - name: Install dependencies
  + if: steps.cache.outputs.cache-hit != 'true'
  run: npm ci
  - name: Run data tests
  run: npm run test --prefix ./data/postgres
  @@ -93,7 +114,14 @@ jobs:
  with:
  node-version: "16.15.0"
  cache: 'npm'
  + - name: Cache dependencies
  + id: cache
  + uses: actions/cache@v3
  + with:
  + path: ./node_modules
  + key: modules-${{ hashFiles('package-lock.json') }}
  - name: Install dependencies
  + if: steps.cache.outputs.cache-hit != 'true'
  run: npm ci
  - name: Download Fabric binaries
  run: |
  