fix(types): replace deprecated React.SFC type #45
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: Test and build (v7) | |
on: | |
pull_request: | |
branches: | |
- v7 | |
push: | |
branches: | |
- v7 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
- name: Install Dependencies | |
run: yarn install | |
- name: Lint files | |
run: yarn coverage | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
- name: Install Dependencies | |
run: yarn install | |
- name: Run Unit Tests | |
run: yarn test | |
build: | |
needs: [test, lint] | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build | |
run: yarn build |