Bump eslint-plugin-react from 7.30.0 to 7.33.2 #2568
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: | |
default: | |
name: Test on ${{ matrix.os }} with node v${{ matrix.node }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Cancel previous and queued runs | |
uses: styfle/cancel-workflow-action@0.5.0 | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Setup yarn | |
if: matrix.os != 'windows-latest' | |
run: | | |
curl -o- -L https://yarnpkg.com/install.sh | bash | |
export PATH="$HOME/.yarn/bin:$PATH" | |
- name: Get yarn cache | |
id: yarn-cache | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v1 | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ matrix.os }}-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ matrix.os }}-${{ matrix.node }}-yarn- | |
- name: Install Dependencies | |
run: yarn | |
env: | |
CI: 'true' | |
- name: Test | |
run: yarn test | |
env: | |
CI: 'true' |