Files
cocos4/.github/workflows/web-quality.yml
T
PP 82c37f8445 fix npm install (#11415)
* fix getPlatformFromPath

fix

* update lock

* downgrade node version
2022-06-08 20:18:46 +08:00

17 lines
574 B
YAML

name: <Web> 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