Skip to content

chore(main): release 3.0.0 #3

chore(main): release 3.0.0

chore(main): release 3.0.0 #3

Workflow file for this run

name: Deploy to Github Pages
on:
workflow_dispatch:
push:
tags:
- '*'
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Set Node Environment
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Update npm latest
run: |
npm install -g npm@latest
- name: Install and Build 🔧
env:
CI: false
run: |
echo node version "$(node -v)"
echo npm version "$(npm --version)"
npm install
npm run build:demo
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.