Merge pull request #41 from alexanderadam/rules/add_new_rules #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint AdBlock List | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
env: | |
FILENAME: alexanderadam.txt | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: yarn install | |
# https://github.com/AdguardTeam/AGLint?tab=readme-ov-file#introduction | |
- name: Run linting | |
run: yarn aglint ${{ env.FILENAME }} |