|
9 | 9 | lint: |
10 | 10 | runs-on: ubuntu-latest |
11 | 11 | steps: |
| 12 | + - name: Checkout repository |
| 13 | + uses: actions/checkout@v6 |
| 14 | + |
| 15 | + - name: Enable Corepack |
| 16 | + run: corepack enable |
| 17 | + |
12 | 18 | - name: Set up Node.js |
13 | | - uses: actions/setup-node@v4 |
| 19 | + uses: actions/setup-node@v6 |
| 20 | + with: |
| 21 | + node-version: "22" |
| 22 | + cache: yarn |
| 23 | + |
| 24 | + - name: Check lock for duplications |
| 25 | + run: yarn dedupe --check |
| 26 | + |
| 27 | + - name: Install dependencies |
| 28 | + run: yarn install --immutable |
14 | 29 |
|
| 30 | + - name: Check dependencies alignment |
| 31 | + run: yarn check-dependencies |
| 32 | + |
| 33 | + - name: Run packages lint |
| 34 | + run: yarn lint:packages |
| 35 | + |
| 36 | + - name: Run plugins lint |
| 37 | + run: yarn lint:plugins |
| 38 | + |
| 39 | + lint-website: |
| 40 | + runs-on: ubuntu-latest |
| 41 | + steps: |
15 | 42 | - name: Checkout repository |
16 | | - uses: actions/checkout@v4 |
| 43 | + uses: actions/checkout@v6 |
| 44 | + |
| 45 | + - name: Enable Corepack |
| 46 | + run: corepack enable |
| 47 | + |
| 48 | + - name: Set up Node.js |
| 49 | + uses: actions/setup-node@v6 |
| 50 | + with: |
| 51 | + node-version: "22" |
| 52 | + cache: yarn |
17 | 53 |
|
18 | 54 | - name: Install dependencies |
19 | | - run: yarn install --frozen-lockfile --no-progress --non-interactive |
| 55 | + run: yarn install --immutable |
20 | 56 |
|
21 | | - - name: Run Lint |
22 | | - run: yarn ci:lint |
| 57 | + - name: Run Website Specific Lints |
23 | 58 | working-directory: website |
| 59 | + run: yarn ci:lint |
24 | 60 |
|
25 | 61 | build: |
26 | 62 | runs-on: ubuntu-latest |
27 | 63 | steps: |
28 | | - - name: Set up Node.js |
29 | | - uses: actions/setup-node@v4 |
30 | | - |
31 | 64 | - name: Checkout repository |
32 | | - uses: actions/checkout@v4 |
| 65 | + uses: actions/checkout@v6 |
| 66 | + |
| 67 | + - name: Enable Corepack |
| 68 | + run: corepack enable |
| 69 | + |
| 70 | + - name: Set up Node.js |
| 71 | + uses: actions/setup-node@v6 |
| 72 | + with: |
| 73 | + node-version: "22" |
| 74 | + cache: yarn |
33 | 75 |
|
34 | 76 | - name: Install dependencies |
35 | | - run: yarn install --frozen-lockfile --no-progress --non-interactive |
| 77 | + run: yarn install --immutable |
36 | 78 |
|
37 | 79 | - name: Build |
38 | 80 | run: yarn build |
39 | 81 | working-directory: website |
40 | 82 | env: |
41 | | - NODE_OPTIONS: "--max_old_space_size=4096" |
| 83 | + NODE_OPTIONS: --max_old_space_size=8192 |
0 commit comments