Handle undefined props like className #279
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14] | |
react: [ | |
16.x, | |
17.x, | |
18.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 |