build(deps): bump vuepress-theme-cosmos from 1.0.183 to 1.0.184 in /docs #1
Workflow file for this run
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: Check docs build | |
# This workflow runs when a PR is labeled with `docs` | |
# This will check if the docs build successfully by running `npm run build` | |
on: | |
pull_request: | |
types: [ labeled ] | |
paths: | |
- "docs/**" | |
jobs: | |
check-docs-build: | |
if: ${{ github.event.label.name == 'docs' }} | |
name: Check docs build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Install dependencies and build docs 🧱 | |
run: | | |
cd docs | |
npm install | |
npm run build |