Skip to content

Update dependency eslint to v8.47.0 #778

Update dependency eslint to v8.47.0

Update dependency eslint to v8.47.0 #778

Workflow file for this run

name: Test & Lint
on:
push:
branches:
- "**"
- "!release"
paths:
- "src/**"
- "__tests__/**"
- "*.js"
- "*.json"
- ".github/workflows/test.yml"
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache npm
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- run: npm install
- run: npm run test -- --coverage
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache npm
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- run: npm install
- run: npm run lint