CI: Run ESLint job with GitHub Actions

This commit is contained in:
Peter Keresztes Schmidt 2021-05-30 23:22:27 +02:00
parent dab2792077
commit fead79185b
2 changed files with 21 additions and 1 deletions

21
.github/workflows/ci-eslint.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: CI ESLint
on:
push:
branches:
- '*'
pull_request:
branches: [ master ]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install ESLint
run: npm install eslint@5.12.0 eslint-config-google@0.11.0 eslint-plugin-html@5.0.0 eslint-plugin-php-markup@0.2.5
- name: Run ESLint
run: npx eslint --ext .php,.js .

View File

@ -32,7 +32,6 @@ install:
- update-binfmts --enable qemu-arm
env:
- SMPFLAGS=-j4 OS=eslint DIST=eslint
- SMPFLAGS=-j4 OS=ubuntu DIST=bionic DOCKER_REPO=iconzm/packpack
compiler: