Skip to content

Commit

Permalink
Merge branch 'master' into coverage-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mcking65 authored Sep 29, 2020
2 parents cd334e2 + 7dee05d commit ad40a5a
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
2 changes: 2 additions & 0 deletions .github/workflows/lint-css.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: CSS Linting
on:
push:
branches-ignore:
- "dependabot/**"
paths:
- "package*.json"
- ".stylelint*"
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: JavaScript Linting
on:
push:
paths:
- "package*.json"
- ".eslint*"
- "**/*.js"
- ".github/workflows/lint-js.yml"
- "!common/**"

pull_request:
paths:
- "package*.json"
- ".eslint*"
- "**/*.js"
- ".github/workflows/lint-js.yml"
- "!common/**"

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v2

# setup-node task is used without a particular version in order to load
# the ESLint problem matchers
- name: Set up Node.js
uses: actions/setup-node@v1

- name: Install npm dependencies
run: npm ci

- name: ESLint
run: npm run lint:es
1 change: 1 addition & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
push:
branches-ignore:
- master
- "dependabot/**"
paths:
- ".github/workflows/regression.yml"
- "package*.json"
Expand Down
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
- env: ALLOW_FAILURE=true

include:
- stage: Lint
name: JS Linting
script: npm run lint:es
- stage: Lint
name: HTML Linting
script: npm run vnu-jar
Expand Down

0 comments on commit ad40a5a

Please sign in to comment.