Skip to content

chore: update mui + easy worker #63

chore: update mui + easy worker

chore: update mui + easy worker #63

Workflow file for this run

name: Build and deploy
'on':
push:
branches:
- main
- 'feature/**'
- 'fix/**'
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
submodules: true
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
- name: Use Bun 1.1.38
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.38
- name: Use .NET 9.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Install deps
run: bun install
- name: Build
run: bun run build
- name: Deploy
if: github.ref == 'refs/heads/main'
run: |
echo "$FIREBASE_SERVICE_ACCOUNT_BASE64" | base64 --decode > firebase-service-account.json
bun run firebase deploy --project $FIREBASE_PROJECT
env:
FIREBASE_SERVICE_ACCOUNT_BASE64: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_BASE64 }}
FIREBASE_PROJECT: ${{ secrets.FIREBASE_PROJECT }}
RECAPTCHA_SECRET: ${{ secrets.RECAPTCHA_SECRET }}
GOOGLE_APPLICATION_CREDENTIALS: firebase-service-account.json