-
-
Notifications
You must be signed in to change notification settings - Fork 529
44 lines (35 loc) · 899 Bytes
/
lint.yaml
File metadata and controls
44 lines (35 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Lint
on:
workflow_call:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '24.14.0'
- name: Install dev dependencies
run: yarn install
- name: ESLint
run: yarn run eslint
react-versions:
needs: lint
strategy:
fail-fast: false
matrix:
react-version: ['16.14', '17', '18', '19']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '24.14.0'
- name: Install dev dependencies
run: yarn install
- name: Configure React version
run: yarn ci:react-version ${{ matrix.react-version }}
- name: Run tests
run: yarn test --runInBand
- name: Generate types
run: npm run types