chore(deps): update eslint (major) #451
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: PullRequest tests | |
on: | |
pull_request: | |
branches: | |
- master | |
- dev | |
- '!renovate/**' | |
jobs: | |
pull_request_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Build project | |
uses: actions/[email protected] | |
with: | |
node-version: '14' | |
- uses: actions/[email protected] | |
id: cache | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-node${{ env.node-version }} | |
- run: sudo npm install --global cross-env | |
- name: Run tests | |
run: | | |
npm ci | |
npm test | |