Upgrade component to work with React 19 #21
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
NODE_VERSION: "20" | |
jobs: | |
full-code-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Full-check repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
check-latest: true | |
- name: Install dependecies | |
run: | | |
yarn install | |
- name: Lint code | |
run: | | |
yarn lint | |
- name: Build React | |
env: | |
CI: false | |
run: | | |
yarn build |