Skip to content

fix(assignments-service): embedding.service.spec.ts #298

fix(assignments-service): embedding.service.spec.ts

fix(assignments-service): embedding.service.spec.ts #298

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
frontend:
name: Frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Set up Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'pnpm'
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Audit
run: pnpm audit
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:ci
backend:
name: Backend
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
- name: Test Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: test
build-root-directory: backend/
services:
name: Services
runs-on: ubuntu-latest
defaults:
run:
working-directory: services
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Set up Node.js LTS
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'pnpm'
cache-dependency-path: services/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Audit
run: pnpm audit
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test