Skip to content

fix: format

fix: format #10

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout code
uses: actions/checkout@v4
- name: 📦 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '21'
- name: 📥 Install dependencies
run: npm install
- name: 🏗️ Build
run: npm run build
env:
NODE_ENV: production
VITE_APP_AIRTABLE_API_KEY: ${{ secrets.VITE_APP_AIRTABLE_API_KEY }}
VITE_APP_AIRTABLE_BASE: ${{ secrets.VITE_APP_AIRTABLE_BASE }}
- name: 🚀 Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist