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
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Managed by sh1pt Actions Fleet
# pack: node-pnpm-ci@1.2.0
# install: sh1pt-actions-store
# hash: sha256:4c5b9b88dee99de5f463194b4784ab267b400789a6d0f1aaf5b5dede9236376f
name: CI

on:
push:
branches: [main, master]
pull_request:

permissions:
contents: read

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

# The test suite shells out to ffmpeg/ffprobe and ImageMagick's convert;
# install them so the integration tests can run on the runner.
- name: Install FFmpeg and ImageMagick
run: sudo apt-get update && sudo apt-get install -y ffmpeg imagemagick

# pnpm version is read from the "packageManager" field in package.json.
# Do not pin a version here — it conflicts with packageManager and fails
# with ERR_PNPM_BAD_PM_VERSION.
- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: '22'
cache: pnpm

- run: pnpm install --frozen-lockfile

# typecheck / test default to `pnpm run --if-present <script>` so a repo
# that hasn't defined these scripts yet gets a green workflow instead of
# failing on the first step. Once the scripts exist they run normally.
- run: pnpm run --if-present typecheck

- run: pnpm run --if-present test
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
steps:
- uses: actions/checkout@v4

# The test suite shells out to ffmpeg/ffprobe and ImageMagick's convert;
# install them so the integration tests can run on the runner.
- name: Install FFmpeg and ImageMagick
run: sudo apt-get update && sudo apt-get install -y ffmpeg imagemagick

# pnpm version is read from the "packageManager" field in package.json.
# Do not pin a version here — it conflicts with packageManager and fails
# with ERR_PNPM_BAD_PM_VERSION.
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

pnpm-lock.yaml
ffmpeg_build/

# Environment variables
Expand Down
Loading
Loading