Skip to content

add emailPreRender

add emailPreRender #1

Workflow file for this run

name: wednesday job
on: [push]
jobs:
roles-renderer:
runs-on: ubuntu-latest
env:
MONGO_PASSWORD: example
MONGO_USERNAME: root
MONGO_HOST: localhost
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_SERVICE_ROLE: ${{ secrets.SUPABASE_SERVICE_ROLE }}
services:
rabbitmq:
image: rabbitmq:3-management
hostname: rabbitmq

Check failure on line 18 in .github/workflows/wednesday.yml

View workflow run for this annotation

GitHub Actions / wednesday job

Invalid workflow file

The workflow is not valid. .github/workflows/wednesday.yml (Line: 18, Col: 9): Unexpected value 'hostname' .github/workflows/wednesday.yml (Line: 22, Col: 9): Unexpected value 'expose'
ports:
- 5672:5672
- 15672:15672
expose:
- 5672
- 15672
environment:
RABBITMQ_DEFAULT_USER: trampar
RABBITMQ_DEFAULT_PASS: trampar-de-casa
mongodb:
image: mongo:latest
env:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
ports:
- 27017:27017
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Cache node modules
uses: actions/cache@v2
with:
path: |
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install
- name: Install turbo
run: yarn add -WD turbo
- name: Wait for MongoDB
run: until nc -z localhost 27017; do sleep 1; done
- name: Roles renderer
run: yarn turbo start --filter roles-renderer
- name: Roles validator
run: yarn turbo start --filter roles-validator
- name: Roles assigner
run: yarn turbo start --filter roles-assigner
- name: Email pre-renderer
run: yarn turbo start --filter email-pre-renderer