Skip to content

Refactored: added function + types + error handling #3030

Refactored: added function + types + error handling

Refactored: added function + types + error handling #3030

Workflow file for this run

name: CI
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
name: Run linting for all packages
steps:
- uses: actions/checkout@v3
- name: install node v16
uses: actions/setup-node@v3
with:
node-version: 16
- uses: bahmutov/npm-install@v1
- run: yarn lint
run-api-tests:
runs-on: ubuntu-latest
name: API Tests
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "16"
- run: yarn install --immutable
- name: Run Jest Tests
run: yarn packages/api test
build-frontend-image:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- run: yarn install --immutable
- name: Build Docker image for frontend
run: yarn frontend:docker:build
build-backend-image:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- run: yarn install --immutable
- name: Build Docker image for backend
run: yarn backend:docker:build