fix: Replace all pnpm calls with bun #17
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
| name: 📼 VHS | |
| on: | |
| push: | |
| paths: | |
| - 'docs/tapes/*.tape' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| vhs: | |
| name: Create VHS | |
| runs-on: ubuntu-22.04 | |
| if: ${{ github.repository == 'wxt-dev/wxt' }} | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| with: | |
| install: false | |
| # This prevents bunx from downloading WXT in the video | |
| - name: Pre-install WXT | |
| run: | | |
| bun i wxt@latest | |
| bunx wxt@latest --version | |
| - name: Record VHS | |
| uses: charmbracelet/[email protected] | |
| with: | |
| path: 'docs/tapes/init-demo.tape' | |
| - name: Save recorded GIF | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| 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' |