diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/doc-checks.yml | 35 |
2 files changed, 42 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e22dc65..e6be31a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,10 @@ -on: [push, pull_request] +on: + push: + paths: + - "app/**" + pull_request: + paths: + - "app/**" name: Build diff --git a/.github/workflows/doc-checks.yml b/.github/workflows/doc-checks.yml new file mode 100644 index 0000000..a31a88e --- /dev/null +++ b/.github/workflows/doc-checks.yml @@ -0,0 +1,35 @@ +name: doc-checks + +on: + push: + paths: + - "docs/**" + pull_request: + paths: + - "docs/**" + +jobs: + lint: + runs-on: ubuntu-latest + name: ESLint + + steps: + - uses: actions/checkout@v2 + - uses: bahmutov/npm-install@v1 + with: + working-directory: docs + - name: ESLint + run: npm run lint + working-directory: docs + prettier: + runs-on: ubuntu-latest + name: Prettier + + steps: + - uses: actions/checkout@v2 + - uses: bahmutov/npm-install@v1 + with: + working-directory: docs + - name: Prettier Check + run: npm run prettier:check + working-directory: docs |
