forked from wxt-dev/wxt
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 1008 Bytes
/
vhs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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/public/*.gif'