2020-09-18 15:23:48 -04:00
|
|
|
name: Docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2020-12-08 18:27:08 -05:00
|
|
|
- "docs/**"
|
2020-09-18 15:23:48 -04:00
|
|
|
pull_request:
|
|
|
|
paths:
|
2020-12-08 18:27:08 -05:00
|
|
|
- "docs/**"
|
2020-09-18 15:23:48 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
docs:
|
2021-02-03 19:40:38 -05:00
|
|
|
name: docs
|
2021-01-15 19:14:33 -05:00
|
|
|
runs-on: ubuntu-20.04
|
2020-09-18 15:23:48 -04:00
|
|
|
steps:
|
2021-01-24 02:10:16 -05:00
|
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
2020-12-08 18:27:08 -05:00
|
|
|
uses: actions/checkout@v2
|
2021-01-24 02:10:16 -05:00
|
|
|
with:
|
|
|
|
persist-credentials: false
|
2020-12-08 18:27:08 -05:00
|
|
|
- name: npm install
|
|
|
|
working-directory: ./docs
|
|
|
|
run: |
|
|
|
|
npm install
|
|
|
|
- name: lint
|
|
|
|
working-directory: ./docs
|
|
|
|
run: |
|
|
|
|
npm run lint
|
|
|
|
- name: gatsby build
|
|
|
|
working-directory: ./docs
|
|
|
|
run: |
|
|
|
|
npm run build
|