Skip to content

fix: pipeline branch build issues #513

fix: pipeline branch build issues

fix: pipeline branch build issues #513

Workflow file for this run

name: branch
on:
pull_request_target:
types:
- opened
- synchronize
permissions:
actions: read
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
- 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:
python-version: '3.x'
- name: install python tools
run: |
pip install poetry
- run: npx nx affected -t build --parallel=1