chore(apps/office-addin): add missing type validation script to offic… #1319
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.15.4 | |
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 |