Skip to content

Commit

Permalink
fix: pipeline branch build issues (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
maratsh authored Sep 13, 2024
1 parent 69935bd commit 4066af7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/nx-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Cache node_modules
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
- uses: nrwl/nx-set-shas@v3
# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track main origin/main
- uses: nrwl/nx-set-shas@v4
- run: |
echo "BASE: ${{ env.NX_BASE }}"
echo "HEAD: ${{ env.NX_HEAD }}"
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand Down

0 comments on commit 4066af7

Please sign in to comment.