Bump eslint from 8.38.0 to 8.45.0 #775
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: Tests | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run linter | |
run: npm run lint | |
cypress: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node: [ 14 ] | |
browser: [ chrome ] | |
steps: | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Run Cypress | |
uses: cypress-io/github-action@v2 | |
with: | |
build: npm run build | |
start: npm start | |
browser: ${{ matrix.browser }} | |
headless: true | |
record: ${{ github.event.pull_request.head.repo.full_name == 'webcreate/infinite-ajax-scroll' }} | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |