chore(main): release 3.0.0 #3
Workflow file for this run
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 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. |