This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
Update Snapshots [Experimental] #39
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
# Run on a branch to update rendering test snapshots | |
name: Update Snapshots [Experimental] | |
on: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
update-snapshots: | |
runs-on: ubuntu-latest | |
if: github.event.repository.fork == false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GH_BUILD }} | |
- uses: actions/setup-node@v3 | |
- run: yarn | |
- name: build filterpane | |
working-directory: packages/sn-filter-pane | |
run: | | |
yarn | |
yarn build | |
- run: yarn playwright install --with-deps | |
- run: yarn run test:rendering --update-snapshots | |
- run: yarn run test:integration --update-snapshots | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'test: update rendering test screenshots' | |