Release v2.11.0 #175
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: "Build Docs on PR" | |
on: | |
pull_request: | |
branches: | |
- develop | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
cache: npm | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build | |
id: build | |
run: npm run build | |
- name: Upload Artifact | |
if: ${{ failure() && steps.build.conclusion == 'failure' }} | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: build/ | |
retention-days: 7 |