Skip to content

chore: add tea

chore: add tea #61

name: Deploy Demo to Github pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install deps
run: pnpm install
- name: Build
run: pnpm run build
- name: Build Example
run: pnpm run example:vue:build
- name: Deploy
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: examples/vue/dist