Merge pull request #1 from strukturag/ci-integration
Add CI integration
This commit is contained in:
commit
dc3ebbbf0d
1 changed files with 30 additions and 0 deletions
30
.github/workflows/lint.yml
vendored
Normal file
30
.github/workflows/lint.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
runs-on: ubuntu-latest
|
||||
container: nextcloudci/eslint:eslint-1
|
||||
|
||||
name: eslint
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Lint
|
||||
run: ./run-eslint.sh
|
||||
|
||||
stylelint:
|
||||
runs-on: ubuntu-latest
|
||||
container: nextcloudci/stylelint:stylelint-1
|
||||
|
||||
name: stylelint
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Lint
|
||||
run: ./run-stylelint.sh
|
||||
Loading…
Reference in a new issue