Skip to content

Handle undefined props like className #279

Handle undefined props like className

Handle undefined props like className #279

Workflow file for this run

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