migrate monorepo back to Yarn Classic #1782
This file contains hidden or 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: Pre-merge | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| cache: yarn | |
| - name: Check lock for duplications | |
| run: yarn update-lock --fail | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Check dependencies alignment | |
| run: yarn check-dependencies | |
| - name: Run packages lint | |
| run: yarn lint:packages | |
| - name: Run plugins lint | |
| run: yarn lint:plugins | |
| lint-website: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Run Website Specific Lints | |
| working-directory: website | |
| run: yarn ci:lint | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Build | |
| run: yarn build | |
| working-directory: website | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=8192 |