This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
v3.11.0 #525
Workflow file for this run
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run linters | |
uses: wearerequired/lint-action@a8497ddb33fb1205941fd40452ca9fff07e0770d | |
with: | |
github_token: ${{ secrets.github_token }} | |
prettier: true | |
auto_fix: true | |
prettier_extensions: 'css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml' |