mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
549108d018
* update require * support bundle-adapter workflow update * update adapter require * add timer * update * update lock update lock * remove node version for npm test CI * with node version 16.15 * install jsdom * use 16.15
17 lines
577 B
YAML
17 lines
577 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: 16.15
|
|
- run: npm ci
|
|
- name: Run ESLint
|
|
shell: pwsh
|
|
run: ./.github/workflows/eslint.ps1
|