Skip to content

Merge branch 'v3' of https://github.com/uzh-bf/klicker-uzh into v3-ne… #683

Merge branch 'v3' of https://github.com/uzh-bf/klicker-uzh into v3-ne…

Merge branch 'v3' of https://github.com/uzh-bf/klicker-uzh into v3-ne… #683

Workflow file for this run

name: Test graphql package logic functionalities
on:
push:
branches: ['v3', 'v3*']
paths:
- 'packages/graphql/**'
- '.github/workflows/test-graphql.yml'
pull_request:
branches: ['v3', 'v3*']
types: [opened, synchronize, reopened, ready_for_review]
jobs:
test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 9.10.0
run_install: true
- name: Test functions
shell: bash
run: |
cd packages/prisma
pnpm run build
cd ../types
pnpm run build
cd ../util
pnpm run build
cd ../grading
pnpm run build
cd ../graphql
pnpm run test