Skip to content

Add CI badge to README #7

Add CI badge to README

Add CI badge to README #7

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build:
name: Check, build & deploy
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v4
- name: "📦 Install pnpm"
uses: pnpm/action-setup@v4
with:
version: 10
- name: "⬢ Setup Node.js 24"
uses: actions/setup-node@v4
with:
node-version: 24
cache: "pnpm"
- name: "📦 Install dependencies"
run: pnpm install
- name: "🔎 Lint code"
run: pnpm run lint
- name: "📝 Checking code format"
run: pnpm run format:check
- name: "🚀 Build the project"
run: pnpm run build
- name: "🔥 Deploy to Firebase Hosting"
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SUIWARE_IO }}
channelId: live
projectId: suiware-io