Skip to content

Commit 0c9eb42

Browse files
fix(git-action): added additional optional install routine
1 parent 389bb6b commit 0c9eb42

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/beta.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
node_modules
3838
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
3939

40-
- name: install dependencies
40+
- name: install dependencies (no cache available)
4141
if: steps.cache.outputs.cache-hit != 'true'
4242
run: npm ci
4343

@@ -79,6 +79,10 @@ jobs:
7979
path: node_modules
8080
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
8181

82+
- name: install dependencies (no cache available)
83+
if: steps.cache.outputs.cache-hit != 'true'
84+
run: npm ci
85+
8286
- name: release versioning
8387
env:
8488
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.github/workflows/feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
node_modules
3838
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
3939

40-
- name: install dependencies
40+
- name: install dependencies (no cache available)
4141
if: steps.cache.outputs.cache-hit != 'true'
4242
run: npm ci
4343

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
node_modules
3838
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
3939

40-
- name: install dependencies
40+
- name: install dependencies (no cache available)
4141
if: steps.cache.outputs.cache-hit != 'true'
4242
run: npm ci
4343

@@ -79,6 +79,10 @@ jobs:
7979
path: node_modules
8080
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
8181

82+
- name: install dependencies (no cache available)
83+
if: steps.cache.outputs.cache-hit != 'true'
84+
run: npm ci
85+
8286
- name: release versioning
8387
env:
8488
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)