feat: breadcrumbs component #1583
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
environment: | |
description: "Select deployment environment" | |
required: true | |
type: choice | |
options: | |
- prod | |
- dev | |
default: dev | |
permissions: | |
contents: write | |
pull-requests: write | |
repository-projects: write | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
environment: ${{ github.event.inputs.environment || 'dev' }} | |
env: | |
environment: ${{ github.event.inputs.environment || 'dev' }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.REPO_PAT }} | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Configure git | |
run: | | |
git config user.name "${GITHUB_ACTOR}" | |
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
- name: Build and test | |
run: | | |
corepack enable | |
pnpm install --frozen-lockfile --ignore-scripts | |
pnpm nx affected --base=last-release -t format:check --parallel=3 | |
pnpm build | |
pnpm nx affected --base=last-release -t lint --parallel=3 | |
pnpm test | |
- name: Create Figma tokens flat artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: figma-tokens | |
path: packages/design/figma/dist/tokens | |
- name: Create Figma tokens flat artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: figma-tokens-flat | |
path: packages/design/figma/dist/tokens-flat |