Skip to content

Fix attachment/Document detection #5147

Fix attachment/Document detection

Fix attachment/Document detection #5147

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
services:
postgres:
image: postgres:11.2-alpine
ports:
- 54311:5432
env:
POSTGRES_DB: test-misskey
POSTGRES_HOST_AUTH_METHOD: trust
redis:
image: redis:4.0-alpine
ports:
- 56311:6379
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: sudo apt-get update -y
- run: sudo apt-get install -y --no-install-recommends ffmpeg
- run: pnpm i --frozen-lockfile
- run: pnpm build
- run: ls built/meta.json
- run: cp test/test.yml .config
- run: pnpm test