Skip to content

fix: run action

fix: run action #31

Workflow file for this run

name: Backend - Unit Test
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- staging
paths:
- "backend/**"
jobs:
backend-unit-test:
runs-on: ubuntu-latest
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
working-directory: backend
- name: Run Tests
run: npm run test:unit
working-directory: backend