Skip to content

Add docker compose definition to run the relayer as a service #100

Add docker compose definition to run the relayer as a service

Add docker compose definition to run the relayer as a service #100

Workflow file for this run

name: "PR"
on:
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 30 # `yarn test` takes longer time
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install yarn
run: npm install --global yarn
- name: Install dependencies
shell: bash
run: yarn --prefer-offline
- name: Build
shell: bash
run: yarn build
- run: yarn format
- name: Check format
run: |
if [ -z "$(git status --untracked-files=no --porcelain)" ]; then
echo "All files formatted"
else
echo "Running format is required"
exit 1
fi
- name: Validate configuration
run: yarn validate-config
- name: Test
shell: bash
run: yarn test