Skip to content

backend: adding integration test #1

backend: adding integration test

backend: adding integration test #1

Workflow file for this run

name: Frontend Tests
on:
pull_request:
paths: [backend/**]
push:
branches: [main]
paths: [backend/**]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v3
- name: setup os dependencies
run: apt-get update && apt-get install -y jq
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: backend/yarn.json
- name: Install deps
run: yarn install --frozen-lockfile
- name: Prettier check
run: yarn prettier:check
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test