-
Notifications
You must be signed in to change notification settings - Fork 265
50 lines (46 loc) · 1.23 KB
/
ci.yml
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
45
46
47
48
49
50
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14]
react: [
16.3.x,
16.4.x,
16.5.x,
16.6.x,
16.7.x,
16.8.x,
16.9.x,
16.10.x,
16.11.x,
16.12.x,
17.0.x
]
fontawesome-svg-core: [
1.2.x,
6.x
]
free-solid-svg-icons: [
5.x,
6.x
]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: npm install, build, and test
run: |
npm install
npm run build
npm install --no-save react@${{ matrix.react }} react-dom@${{ matrix.react }} react-test-renderer@${{ matrix.react }}
npm install --no-save @fortawesome/fontawesome-svg-core@${{ matrix.fontawesome-svg-core }} @fortawesome/free-solid-svg-icons@${{ matrix.free-solid-svg-icons }}
npm list react react-dom react-test-renderer @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons
npm run lint
npm run test
- name: dist
run: |
npm run dist