mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-13 08:55:06 +01:00
update linting action
This commit is contained in:
parent
bd4652c4ac
commit
36eb8d599a
19
.github/workflows/linting.yml
vendored
19
.github/workflows/linting.yml
vendored
@ -14,21 +14,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
- name: Install Node.js dependencies
|
- name: Install Yarn packages
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
- name: Run linters
|
- name: Run linters
|
||||||
uses: wearerequired/lint-action@v2
|
run: yarn lint
|
||||||
with:
|
|
||||||
eslint: true
|
|
||||||
eslint_args: --max-warnings=0 src
|
|
||||||
eslint_extensions: tsx,ts
|
|
||||||
eslint_auto_fix: false
|
|
||||||
|
Loading…
Reference in New Issue
Block a user