Skip to content

Update dep graph

Update dep graph #366

Workflow file for this run

name: Build Angular workspace
on:
push:
branches: [ v100 ]
pull_request:
branches: [ v100, v93 ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: Select Node version
id: node
shell: pwsh
run: |
# Determine branch (handles push vs PR)
$branch = "${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}"
# Select node version based on branch
switch ($branch) {
"v93" { $node = "20.x" }
"v100" { $node = "22.x" }
# Future changes:
# "v110" { $node = "24.x" }
default { $node = "22.x" }
}
# Output clear info for logs
Write-Host "🔹 Branch detected: $branch"
Write-Host "🔹 Node version selected: $node"
# Pass to subsequent steps
echo "version=$node" >> $env:GITHUB_OUTPUT
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: ${{ steps.node.outputs.version }}
- name: Install packages
working-directory: ./imxweb
run: npm install --skip-dialog
- name: Build All
working-directory: ./imxweb
run: npm run nx:build-all
timeout-minutes: 25
- name: Test All
working-directory: ./imxweb
run: npm run nx:test-ci
timeout-minutes: 40