Feat(web-react): Introduce Navigation #DS-1524 #6039
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🏗️ Build | |
on: | |
# Run this workflow on push to branches only (not tags) | |
push: | |
branches: | |
- '**' | |
paths: | |
- packages/design-tokens/** | |
- packages/icons/** | |
- packages/web/** | |
- packages/web-react/** | |
env: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
NX_BRANCH: ${{ github.event.number || github.ref_name }} | |
NX_VERBOSE_LOGGING: true | |
NX_NO_CLOUD: true | |
jobs: | |
build: | |
name: 👷 Building on Node.js ${{ matrix.node-version }}) | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
# supporting primarily LTS | |
node-version: [18, 20, 22] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Configure Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn --immutable --inline-builds | |
- name: Build packages | |
run: yarn build | |
- name: Check for clean working directory | |
run: | | |
if [[ -n "$(git status --porcelain)" ]]; then | |
echo "Error: Git working directory is not clean" | |
git status | |
exit 1 | |
fi |