chore(deps): update dependency ts-jest to v29.1.2 (#624) #291
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: | |
push: | |
branches: [main] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
- name: Setup user | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name "Action" | |
- name: Build docs | |
run: | | |
cd docs | |
yarn install | |
yarn docs:build | |
cd .vitepress/dist | |
git init | |
git add -A | |
git commit -m 'deploy' | |
- name: Deploy docs | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: 'docs' | |
force: true | |
directory: './docs/.vitepress/dist' |