Skip to content

Refactor examples which are present in https://github.com/PSPDFKit/awesome-nutrient/blob/master/playground/web-viewer.md #17

Refactor examples which are present in https://github.com/PSPDFKit/awesome-nutrient/blob/master/playground/web-viewer.md

Refactor examples which are present in https://github.com/PSPDFKit/awesome-nutrient/blob/master/playground/web-viewer.md #17

Workflow file for this run

name: Type Check Playground Examples
on:
pull_request:
paths:
- 'playground/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
typecheck:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: playground/package-lock.json
- name: Install dependencies
working-directory: playground
run: npm ci
- name: Run type check
working-directory: playground
run: npm run typecheck