Skip to content

Feat: Throw Error if PERCY_RAISE_ERROR is True (#585) #1096

Feat: Throw Error if PERCY_RAISE_ERROR is True (#585)

Feat: Throw Error if PERCY_RAISE_ERROR is True (#585) #1096

Workflow file for this run

name: Lint
on: push
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: v1/${{ runner.os }}/node-14/${{ hashFiles('**/yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-14/
- run: yarn
- run: yarn lint