create a for-you page (how to implement your use case) #12
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: docs | |
on: | |
# trigger build on every PR phase | |
pull_request: | |
types: [opened, reopened, review_requested] | |
# trigger deployment manually | |
workflow_dispatch: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
# choose node.js version to use | |
node-version: 18 | |
- name: Install dependencies | |
run: cd docs && npm ci | |
- name: Build VuePress site | |
run: cd docs && NODE_OPTIONS=--max_old_space_size=5120 npm run docs:build |