Skip to content

Commit e2a6ecb

Browse files
committed
ci: Debug ci
1 parent 39e652e commit e2a6ecb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/actions/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ runs:
1717
path: |
1818
node_modules
1919
~/.cache/Cypress # needed for the Cypress binary
20-
key: ${{ runner.os }}npm-dependencies-${{ hashFiles('package-lock.json') }}
20+
key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('package-lock.json') }}
2121
- name: Npm install
22+
if: steps.cache.outputs.cache-hit != 'true'
2223
run: npm ci
2324
shell: bash
2425
- name: Cache npm dependencies
@@ -27,6 +28,8 @@ runs:
2728
with:
2829
path: |
2930
node_modules
31+
.nx
32+
.angular
3033
~/.cache/Cypress # needed for the Cypress binary
3134
key: ${{ steps.cache-dependencies-restore.outputs.cache-primary-key }}
3235
- name: Derive appropriate SHAs for base and head for `nx affected` commands

.github/workflows/bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616
- name: Npm install
1717
uses: ./.github/actions
18-
- run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --base=origin/master~1 --head=origin/master
18+
- run: npx nx affected -t test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --base=origin/master
1919
# - run: npm nx affected -t e2e-ci --parallel=1
2020
# - run: npm nx affected -t deploy --no-agents
2121

0 commit comments

Comments
 (0)