deps(deps): bump the major group across 1 directory with 3 updates #317
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Managed by sh1pt Actions Fleet | |
| # pack: node-pnpm-test@1.1.0 | |
| # install: sh1pt-actions-store | |
| # hash: sha256:d753421a4244bd39c13dd7444a29709ac978395b34c359adf0be2bfec9e48268 | |
| name: test | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| # 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@v7 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| # Some tests exercise the real transcoding pipeline (spawn('ffmpeg')); a | |
| # missing binary throws an uncaught spawn ENOENT that fails the whole run. | |
| # ci.yml's test job already installs ffmpeg — keep this workflow in sync. | |
| # | |
| # Two independent paths, because each one alone has broken a deploy. | |
| # | |
| # The distro mirror stalls; and this action resolves `release` by scraping a | |
| # version out of an upstream readme, which failed with "Failed to read | |
| # version from readme" and took the droplet deploy down with it. Neither | |
| # failure has anything to do with the change being tested. | |
| # | |
| # So: try the prebuilt binary, fall back to apt, then assert ffmpeg is | |
| # actually there. A flake in one path no longer stops a deploy, and losing | |
| # both still fails loudly rather than running tests that spawn ENOENT. | |
| - name: Install ffmpeg | |
| id: ffmpeg | |
| uses: FedericoCarboni/setup-ffmpeg@v3 | |
| continue-on-error: true | |
| - name: Install ffmpeg (fallback) | |
| if: steps.ffmpeg.outcome != 'success' | |
| run: | | |
| command -v ffmpeg >/dev/null && exit 0 | |
| sudo apt-get update && sudo apt-get install -y ffmpeg | |
| - name: Verify ffmpeg | |
| run: ffmpeg -version | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm test | |
| env: | |
| CI: true |