refactor: update react up to 19 and related packages #168
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, pull_request] | |
| jobs: | |
| checks: | |
| name: Linters | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: ['20.x'] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setting up Node.js (v${{ matrix.node-version }}.x) | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm install --legacy-peer-deps | |
| - run: npm run lint | |
| tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: ['20.x'] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setting up Node.js (v${{ matrix.node-version }}.x) | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm install --legacy-peer-deps | |
| - run: npm run test:ci | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: ['20.x'] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Setting up Node.js (v${{ matrix.node-version }}.x) | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm install --legacy-peer-deps | |
| - run: npm run build |