chore(changesets): update release specific files #358
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
### | |
# | |
# Run snapshot tests with percy | |
# | |
# This workflow only runs when triggered manually | |
# | |
### | |
name: Run snapshot tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'changeset-release/main' | |
jobs: | |
snapshots: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Use cache is set to false because the cypress binary could not be cached correctly | |
- name: Setup | |
uses: ./.github/actions/setup-pnpm | |
with: | |
use_cache: false | |
- name: Bootstrap | |
run: pnpm bootstrap | |
# Takes full snapshots on the main and partial snapshots (using the filter) on every other branch | |
- name: Take snapshots | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
run: | | |
pnpm snapshots |