Mock TwitchBot for local builds #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test docs deployment | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-deploy: | |
name: Test docs deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install project dependencies | |
run: yarn install --frozen-lockfile | |
- name: Install docs dependencies | |
working-directory: ./docs | |
run: yarn install --frozen-lockfile | |
- name: Test build website | |
working-directory: ./docs | |
run: yarn build |