mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
38 lines
743 B
YAML
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
|