Files
cocos4/.github/workflows/quality.yml
T
Leslie Leigh (李的序) 44153e011b Update quality.yml (#8817)
2021-06-15 10:11:44 +08:00

17 lines
568 B
YAML

name: quality
on: [push, pull_request]
jobs:
eslint:
name: Run ESLint
if: github.actor!= 'dependabot' # ignore the pull request which comes from user dependabot. See https://github.community/t/how-to-stop-github-actions-workflow-to-trigger-when-the-pull-request-is-from-dependabot-preview/116486/3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- name: Run ESLint
shell: pwsh
run: ./.github/workflows/eslint.ps1