Skip to content

ci: dependency review action #704

ci: dependency review action

ci: dependency review action #704

Workflow file for this run

name: 'Lint'
on:
pull_request:
branches: [master]
jobs:
lint:
name: Lint fixes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v3
with:
node-version-file: package.json
- uses: actions/cache@v3
id: cache
with:
path: |
node_modules
.eslintcache
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock') }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint -f github-annotations