Merge pull request #8 from hold-baby/master #6
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 and Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v2 | |
- name: Install node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18.16.0" | |
- name: Install and test | |
run: | | |
npm install pnpm -g | |
pnpm add turbo --global | |
pnpm install | |
pnpm test | |
- name: Release app | |
run: pnpm release | |
- name: Release doc | |
run: pnpm release_doc | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs |