chore: introduce types package, switch to rollup build, update dependencies, fix types #1988
Workflow file for this run
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 grading package functionalities | |
on: | |
push: | |
branches: ['v3', 'v3*'] | |
paths: | |
- 'packages/grading/**' | |
- '.github/workflows/test-grading.yml' | |
pull_request: | |
branches: ['v3', 'v3*'] | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths: | |
- 'packages/grading/**' | |
- '.github/workflows/test-grading.yml' | |
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/grading | |
pnpm run test |