fix(deps): update dependency jss to v10.10.0 #1012
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
name: Icon-regression-Update | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
update_regression: | |
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '[update regression]') | |
runs-on: ubuntu-latest | |
name: Regression test | |
steps: | |
- uses: actions/github-script@v3 | |
id: get-pr | |
with: | |
script: | | |
const request = { | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
pull_number: context.issue.number | |
} | |
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`) | |
try { | |
const result = await github.pulls.get(request) | |
return result.data | |
} catch (err) { | |
core.setFailed(`Request failed with error ${err}`) | |
} | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ fromJSON(steps.get-pr.outputs.result).head.ref }} | |
- name: Regression Test Update | |
run: yarn test:regression:docker:update | |
- uses: EndBug/add-and-commit@v5 | |
with: | |
add: './packages/natds-icons/regression/__image_snapshots__' | |
author_name: Design System via github action | |
author_email: [email protected] | |
message: 'chore: updating icons regression test reference image [skip ci]' | |
branch: ${{ fromJSON(steps.get-pr.outputs.result).head.ref }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |