Skip to content

fix(backend:onlyoffice): validate document download origin #541

fix(backend:onlyoffice): validate document download origin

fix(backend:onlyoffice): validate document download origin #541

Workflow file for this run

name: Test Workflow
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Copy environment file
run: |
cp environment/environment.dist.yaml environment/environment.yaml
sed -i "s|dataPath: /home/|dataPath: /tmp/|" environment/environment.yaml
- name: Run unit tests
run: npm run test