Files
openproject/.github/workflows/hocuspocus-test.yml
T
2026-02-12 21:05:39 +03:00

38 lines
743 B
YAML

name: "Hocuspocus / Tests"
on:
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'extensions/op-blocknote-hocuspocus/**'
permissions:
contents: read
defaults:
run:
working-directory: ./extensions/op-blocknote-hocuspocus
jobs:
units:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v5
with:
node-version: '22.19'
cache: npm
cache-dependency-path: extensions/op-blocknote-hocuspocus/package-lock.json
- name: Install Dependencies
id: npm-i
run: npm i
- name: run tests
id: npm-test
run: CI=1 npm test