Skip to content

ci: harden lint workflow #2356

ci: harden lint workflow

ci: harden lint workflow #2356

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
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@v1
with:
node-version: 12
- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-scripts
- name: Run linters
uses: wearerequired/lint-action@a8497ddb33fb1205941fd40452ca9fff07e0770d
with:
prettier: true
auto_fix: false
prettier_extensions: 'css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml,sol'