Skip to content

Fix tests

Fix tests #272

Workflow file for this run

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