Skip to content

Commit 6ba34e9

Browse files
committed
add workflow_dispatch there
1 parent 7786a0a commit 6ba34e9

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches:
55
- main
66
pull_request:
7-
workflow_dispatch:
87

98
jobs:
109
test:

.github/workflows/update-screenshots.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Update Screenshots
33
on:
44
pull_request:
55
types: [labeled]
6+
workflow_dispatch:
67

78
env:
89
AUTHOR_NAME: 'github-actions[bot]'
@@ -53,8 +54,3 @@ jobs:
5354
git add test/visual/__screenshots__/.
5455
git diff-index --quiet HEAD || git commit -m "${{ env.COMMIT_MESSAGE }}"
5556
git push --set-upstream origin ${{ github.head_ref }}
56-
- name: Trigger ci workflow
57-
run: |
58-
gh workflow run ci.yml --ref ${{ github.head_ref }}
59-
env:
60-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

test/visual/basicGrid.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test('basic grid', async () => {
5454
});
5555

5656
test('color', async () => {
57-
await page.render(<div style={{ color: 'green' }}>color test</div>);
57+
await page.render(<div style={{ color: 'red' }}>color test</div>);
5858

5959
await expect(page.getByText('color test')).toMatchScreenshot('color');
6060
});

0 commit comments

Comments
 (0)