Skip to content

build: add Lighthouse CI integration (resolves #267) #1186

build: add Lighthouse CI integration (resolves #267)

build: add Lighthouse CI integration (resolves #267) #1186

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: npm install and lint
env:
CI: true
run: |
npm ci
npm run lint