Skip to content

chore: add CI Badge #18

chore: add CI Badge

chore: add CI Badge #18

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'
cache: 'npm'
- name: 📥 Install dependencies
run: npm ci
- name: 🏗️ Build
run: |
touch .env
echo VITE_APP_AIRTABLE_API_KEY=$VITE_APP_AIRTABLE_API_KEY >> .env
echo VITE_APP_AIRTABLE_BASE=$VITE_APP_AIRTABLE_BASE >> .env
cat .env
npm run build
env:
VITE_APP_AIRTABLE_API_KEY: ${{ secrets.VITE_APP_AIRTABLE_API_KEY }}
VITE_APP_AIRTABLE_BASE: ${{ secrets.VITE_APP_AIRTABLE_BASE }}