fix(react-components/text-field): console error - Expected a valid label
or labelledby
attribute, received none. If you want to hide the label, provide both label
and hide-label
attributes
#18
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: 📸 Update Snapshots from /approve-snapshots | |
on: | |
issue_comment: | |
types: | |
- created | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-snapshots: | |
name: Update Snapshots | |
if: | |
${{ github.event.issue.pull_request && github.event.comment.body == | |
'/approve-snapshots' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔍 get PR branch | |
uses: xt0rted/pull-request-comment-branch@v2 | |
id: comment-branch | |
- name: ☁️ checkout PR branch | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ steps.comment-branch.outputs.head_ref }} | |
- name: ✍️ comment action started | |
uses: thollander/actions-comment-pull-request@v3 | |
with: | |
message: | | |
> /approve-snapshots | |
⏳ Updating snapshots. Click [here](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) to see the status. | |
- name: 🔧 setup pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: 🔧 setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: 📦 install dependencies | |
run: pnpm install | |
- name: 🎭 install playwright | |
run: pnpm playwright install --with-deps --only-shell | |
# Set up GitHub Actions caching for Wireit. | |
- name: 🔌 setup wireit cache | |
uses: google/wireit@setup-github-actions-caching/v2 | |
- name: 📸 update snapshots | |
run: pnpm run test:update-snapshots | |
- name: ⚙️ commit and push updated snapshots | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Update e2e snapshots" | |
- name: ✅ comment success | |
uses: thollander/actions-comment-pull-request@v3 | |
with: | |
message: | | |
✅ Successfully updated and committed Playwright snapshots! |