Skip to content

Commit c6fdd96

Browse files
committed
CCM-10981: wip
1 parent 7f8641b commit c6fdd96

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/actions/node-modules-cache/action.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ inputs:
88
description: "Path(s) to package-lock.json for cache key"
99
required: false
1010
default: "**/package-lock.json"
11-
install_on_miss:
12-
description: "Run npm ci when cache is missing"
13-
required: false
14-
default: "false"
1511
runs:
1612
using: "composite"
1713
steps:
@@ -32,7 +28,7 @@ runs:
3228
restore-keys: |
3329
${{ runner.os }}-node-${{ inputs.node_version }}-
3430
- name: "Install dependencies (cache miss)"
35-
if: steps.node-modules-cache.outputs.cache-hit != 'true' && inputs.install_on_miss == 'true'
31+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
3632
shell: bash
3733
run: |
3834
npm ci

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
secrets: inherit
9393
test-stage: # Recommended maximum execution time is 5 minutes
9494
name: "Test stage"
95-
needs: [metadata]
95+
needs: [metadata, commit-stage]
9696
uses: ./.github/workflows/stage-2-test.yaml
9797
with:
9898
build_datetime: "${{ needs.metadata.outputs.build_datetime }}"

.github/workflows/stage-2-test.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ jobs:
5252
uses: ./.github/actions/node-modules-cache
5353
with:
5454
node_version: "${{ inputs.nodejs_version }}"
55-
cache_lock_path: "**/package-lock.json"
56-
install_on_miss: "true"
5755

5856
check-generated-dependencies:
5957
name: "Check generated dependencies"

0 commit comments

Comments
 (0)