Skip to content

change vercel file struct #22

change vercel file struct

change vercel file struct #22

Workflow file for this run

name: Automated Tests
on: pull_request
jobs:
jest_server:
name: Jest Server
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
API_KEY: ${{ secrets.API_KEY }}
AUTH_DOMAIN: ${{ secrets.AUTH_DOMAIN }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
STORAGE_BUCKET: ${{ secrets.STORAGE_BUCKET }}
MESSAGING_SENDER_ID: ${{ secrets.MESSAGING_SENDER_ID }}
APP_ID: ${{ secrets.APP_ID }}
FIREBASE_EMAIL: ${{ secrets.FIREBASE_EMAIL }}
FIREBASE_SENHA: ${{ secrets.FIREBASE_SENHA }}
JWT_KEY: ${{ secrets.JWT_KEY }}
HASH_KEY: ${{ secrets.HASH_KEY }}
EMAIL_USER: ${{ secrets.EMAIL_USER }}
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}
TOKEN: ${{ secrets.TOKEN }}
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
jest_api:
name: Jest Api
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL_API }}
TOKEN: ${{ secrets.TOKEN_API }}
defaults:
run:
working-directory: ./api
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test