Chore/do 1587 migrate to yarn #1803
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: [pull_request] | |
jobs: | |
build: | |
name: 🏭 Build all packages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Enable Corepack | |
run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "yarn" | |
- name: Install | |
run: yarn install | |
- name: Build all packages | |
run: yarn nx run-many -t build | |
- run: yarn nx affected:lint --base=$DESTINATION_BRANCH --parallel --max-parallel=3 && yarn nx format:check |