fixup! fixup! fixup! fixup! fixup! fixup! WIP New Tokens #4427
Workflow file for this run
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: | |
push: | |
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 ${{ matrix.node-version }}) | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
# supporting primarily LTS | |
# There is a problem in colliding installation of dependencies | |
# do not know yet, what is causing this, but any combination except 18 is not working corectly | |
# @TODO: https://jira.almacareer.tech/browse/DS-1402 | |
# node-version: [18, 20, 22] | |
node-version: [18] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Fetch Git history | |
run: git fetch --no-tags --depth=50 origin main | |
- name: Install dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useRollingCache: true | |
install-command: yarn --immutable | |
- name: Build packages | |
run: yarn build |