Skip to content

Commit

Permalink
Exclude docs from CI tests (#2749)
Browse files Browse the repository at this point in the history
  • Loading branch information
menghif committed Jan 27, 2022
1 parent 855b39f commit 818ad8e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: docs-ci

on:
pull_request:
branches:
- master
paths:
- 'docs/**'
push:
branches:
- master
paths:
- 'docs/**'

jobs:
# Confirm that prettier was run on the changes
prettier:
uses: Seneca-CDOT/telescope/.github/workflows/prettier-ci.yml@master

# Make sure eslint passes
eslint:
uses: Seneca-CDOT/telescope/.github/workflows/eslint-ci.yml@master
4 changes: 4 additions & 0 deletions .github/workflows/node-js-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'

jobs:
# Confirm that prettier was run on the changes
Expand Down

0 comments on commit 818ad8e

Please sign in to comment.