Skip to content

chore: setup jest config to adapt pnpm (#6502) #710

chore: setup jest config to adapt pnpm (#6502)

chore: setup jest config to adapt pnpm (#6502) #710

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- v5
jobs:
deploy-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '20'
- run: npm install
- run: cd site && npm install
- run: cd site && npm run build
- run: cp ./site/CNAME ./site/dist/CNAME
- run: |
cd site/dist
git init
git config --local user.name antv
git config --local user.email [email protected]
git add .
git commit -m "update by release action"
- uses: ad-m/github-push-action@master
with:
github_token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
directory: site/dist
branch: gh-pages
force: true