chore: bump node current to 24 & min to 22 #5526
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: CI | |
| on: | |
| push: | |
| branches: [master,develop] | |
| pull_request: | |
| branches: [master,develop] | |
| jobs: | |
| lint: | |
| name: Linting | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| check-latest: true | |
| cache: yarn | |
| - name: Install deps | |
| run: yarn install | |
| - name: Eslint check | |
| run: yarn lint | |
| - name: Type check | |
| run: yarn tsc | |
| test: | |
| name: Unit tests | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| node-version: [22, 24, 26] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| check-latest: true | |
| cache: yarn | |
| - name: Install deps | |
| run: yarn install | |
| - name: Build needed packages | |
| run: yarn p:core build && yarn p:tailwind build | |
| - name: Test | |
| run: yarn test | |
| - name: Codecov upload | |
| uses: codecov/codecov-action@v5.5.4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| build: | |
| name: Building | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| check-latest: true | |
| cache: yarn | |
| - name: Install deps | |
| run: yarn install | |
| - name: Build | |
| run: yarn build |