Skip to content

adding callouts

adding callouts #2522

Workflow file for this run

name: lint-and-test
on: [push, workflow_dispatch]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
lint-and-test-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- name: client - install
run: npm ci
working-directory: client
- name: client - lint
run: npm run lint
working-directory: client
- name: marketing - install
run: npm ci
working-directory: marketing
- name: marketing - lint
run: npm run lint
working-directory: marketing
lint-and-test-backend:
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:14
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: 26.0.2
elixir-version: 1.15.4
- uses: actions/[email protected]
with:
path: |
deps
_build
key: mix-${{ hashFiles('mix.lock') }}
- run: mix deps.get
- run: mix format --check-formatted '{lib,priv,test,config}/**/*.{ex,exs}'
- run: mix compile --force --warnings-as-errors
- run: mix test