Test demo.tape #12
Workflow file for this run
This file contains 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
name: vhs | |
on: | |
push: | |
paths: | |
- 'docs/tapes/*.tape' | |
workflow_dispatch: | |
jobs: | |
vhs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
run_install: false | |
- name: Install Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
# NOTE: This function does not work, possibly because `pnpm` is running in the vhs sandbox | |
# - name: Install dependencies | |
# run: pnpm store add wxt@latest | |
- uses: charmbracelet/[email protected] | |
with: | |
path: 'docs/tapes/demo.tape' | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commit_message: "docs: Update `wxt init` GIF" | |
# https://github.com/charmbracelet/vhs#output | |
file_pattern: 'docs/assets/*.gif' |