Add docs and about pages in demo website #11
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
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'lib/**' | |
- 'demo/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x.x' | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 'latest' | |
run_install: false | |
- name: Install | |
run: | | |
cd demo | |
pnpm install --frozen-lockfile --strict-peer-dependencies | |
- name: Build | |
run: bash -x build_docs.sh |