chore(ui-react): release version 2.0.0 #66
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: Build docs | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read .nvmrc | |
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '${{ env.NVMRC }}' | |
- name: Set up dependencies | |
run: npm ci | |
- name: Build | |
uses: ./.github/actions/build | |
- name: Build docs | |
run: npm run generateDocs | |
- name: Commit and push changes | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "BOT_TonConnect_Builder" | |
git add -A | |
git commit -m "build(docs): docs rebuild by github action" | |
git push |