mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 23:36:06 +00: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
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Node.js
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
|
||||
- name: Install Yarn packages
|
||||
run: yarn install
|
||||
|
||||
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v2
|
||||
with:
|
||||
eslint: true
|
||||
eslint_args: --max-warnings=0 src
|
||||
eslint_extensions: tsx,ts
|
||||
eslint_auto_fix: false
|
||||
run: yarn lint
|
||||
|
|
Loading…
Reference in a new issue