test(v3): update all test accordingly to the new api #164
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: documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
name: github pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install pnpm | |
run: npm install --location=global pnpm | |
- name: Remove pnpm-workspace.yaml | |
run: rm -rf ./pnpm-workspace.yaml | |
- name: Install dependencies | |
working-directory: ./packages/documentation | |
run: pnpm install | |
- name: Build docs | |
working-directory: ./packages/documentation | |
run: pnpm run build:docs | |
- name: GitHub Pages | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
target_branch: gh-pages | |
build_dir: ./packages/documentation/docs/.vuepress/dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }} |