Skip to content

Update Vite's Node API to ESM from CJS build (#155) #88

Update Vite's Node API to ESM from CJS build (#155)

Update Vite's Node API to ESM from CJS build (#155) #88

name: GitHub Page Publish
on:
push:
branches: [main]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node 🔧
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist