Skip to content

block tracker

block tracker #201

Workflow file for this run

# Workflow file for running AGLint
# https://github.com/AdguardTeam/AGLint/blob/master/docs/repo-integration.md
name: AGLint
env:
NODE_VERSION: 20
on:
push:
branches:
- master
paths:
- "**/*.txt"
- ".aglintrc.yaml"
- "package.json"
- "yarn.lock"
pull_request:
branches:
- master
paths:
- "**/*.txt"
- ".aglintrc.yaml"
- "package.json"
- "yarn.lock"
jobs:
aglint:
name: Run AGLint
runs-on: ubuntu-latest
steps:
- name: Check out to repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
# If the linter found any errors, it will exit with a non-zero code, which will cause the job to fail
- name: Run AGLint
run: yarn lint:ab