1 | name: "Chromatic via manual"
|
2 | on: [push]
|
3 | # do not use pull_request here, it report the wrong commit_sha and commit_ref
|
4 |
|
5 | jobs:
|
6 | chromatic:
|
7 | runs-on: ubuntu-latest
|
8 | steps:
|
9 | - uses: actions/setup-node@v1
|
10 | with:
|
11 | node-version: '10.x'
|
12 | - uses: actions/checkout@v1
|
13 | - name: install
|
14 | run: |
|
15 | yarn && git status --porcelain
|
16 | - name: prep package
|
17 | run: ./scripts/rename.js storybook-chromatic
|
18 | - name: run chromatic
|
19 | run: yarn chromatic
|
20 | env:
|
21 | CHROMATIC_APP_CODE: ${{ secrets.CHROMATIC_APP_CODE }} |
\ | No newline at end of file |