Skip to content

test:cloudflare

test:cloudflare #71

Workflow file for this run

name: Build and Deploy To gh-pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup node env 📦
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: https://registry.npmjs.org
check-latest: true
- name: Upgrade npm ✨
run: npm i -g npm@latest
- name: Install dependencies 🚀
run: npm i --prefer-offline --no-audit --no-optional
- name: Build 🔧
run: npm run build
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist