Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docs

# The documentation site (packages/docs) has its own pipeline, independent of
# the package build/publish flow in verify.yml and publish.yml. It only runs
# when the docs actually change.

on:
pull_request:
paths:
- 'packages/docs/**'
- '.github/workflows/docs.yml'
push:
branches:
- main
paths:
- 'packages/docs/**'
- '.github/workflows/docs.yml'
workflow_dispatch: {}

env:
HUSKY: 0

jobs:
build:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run docs:build
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- run: git config --global user.email "167322027+revideo-bot@users.noreply.github.com"
- run: git config --global user.name "revideo-bot"
- run: npm ci
- run: npx lerna run build
- run: npx lerna run build --ignore @revideo/docs
- if: ${{ inputs.releaseType == 'release' }}
run: npx lerna publish --yes --force-publish --exact ${{ inputs.version }}
- if: ${{ inputs.releaseType == 'canary' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- run: npm install @ffmpeg-installer/ffmpeg
- run: npm install @ffprobe-installer/ffprobe
- run: npm list
- run: npx lerna run build
- run: npx lerna run build --ignore @revideo/docs
- run: npm run examples:build
tests:
name: Unit tests
Expand All @@ -71,7 +71,7 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
- run: npx lerna run build
- run: npx lerna run build --ignore @revideo/docs
- run: npx lerna run test
e2e:
name: E2E
Expand All @@ -87,7 +87,7 @@ jobs:
# TODO: FFmpeg and ffprobe installer don't automatically install the binaries
- run: npm install @ffmpeg-installer/ffmpeg
- run: npm install @ffprobe-installer/ffprobe
- run: npx lerna run build
- run: npx lerna run build --ignore @revideo/docs
- run: npm run e2e:test
- uses: actions/upload-artifact@v4
if: failure()
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ node_modules
/packages/*/static
/packages/*/build
/packages/*/output
/packages/*/.next

.rollup.cache
*.tsbuildinfo
Expand Down
1 change: 1 addition & 0 deletions .next/trace
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"name":"next-dev","duration":247395,"timestamp":3094115341714,"id":1,"tags":{},"startTime":1783026780794,"traceId":"12bad73261fa69d9"}]
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ CHANGELOG.md
/packages/*/lib
/packages/*/static
/packages/*/build

# The docs app is a self-contained Next.js project with its own prettier config
/packages/docs
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default tseslint.config(
'**/editor/**',
'packages/template/**',
'packages/create/template-*/**',
'packages/docs/**',
],
},
js.configs.recommended,
Expand Down
Loading
Loading