feat: New arch API and commonjs(#13) #34
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: 📖 Deploy docs | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy_pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'pnpm' | |
- uses: pnpm/action-setup@v2 | |
name: Install pnpm | |
with: | |
version: 8 | |
- run: | | |
pnpm install | |
pnpm docs | |
touch docs/.nojekyll | |
- name: Deploy docs 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: docs # The folder the action should deploy. |