Skip to content

Commit f3f5f6f

Browse files
committed
ci: Debug ci
1 parent 206417a commit f3f5f6f

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/actions/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
# node_modules
3131
# ~/.cache/Cypress # needed for the Cypress binary
3232
# key: ${{ steps.cache-dependencies-restore.outputs.cache-primary-key }}
33-
# - name: Derive appropriate SHAs for base and head for `nx affected` commands
34-
# uses: nrwl/nx-set-shas@v4
35-
# with:
36-
# main-branch-name: "master"
33+
- name: Derive appropriate SHAs for base and head for `nx affected` commands
34+
uses: nrwl/nx-set-shas@v4
35+
with:
36+
main-branch-name: "master"

.github/workflows/bump-version.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
- name: Get git hash
1919
run: |
2020
COMMIT=$(git show-ref --tags --hash | tail -n 1)
21-
echo "COMMIT=$(echo ${COMMIT})" >> $GITHUB_ENV
21+
echo "NX_BASE=$(echo ${COMMIT})" >> $GITHUB_ENV
22+
- run: git show-ref --tags --hash | tail -n 1
2223
- name: Test and build
23-
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=$COMMIT --head=origin/master --verbose
24+
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'
2425
- name: Upload test coverage badge
25-
run: npx nx affected -t upload-badge --parallel=3 --exclude='json-api-front,json-api-server,shared-utils,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source' --base=$COMMIT --head=origin/master --verbose
26+
run: npx nx affected -t upload-badge --parallel=3 --exclude='json-api-front,json-api-server,shared-utils,json-api-server-e2e,json-shared-type,database,@nestjs-json-api/source'
2627
env:
2728
GIST_SECRET: ${{ secrets.GIST_SECRET }}
2829
GIST_ID: ${{ secrets.GIST_ID }}

0 commit comments

Comments
 (0)