This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
Merge pull request #63 from Uniswap/update-migration #339
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: 14 | |
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' |