1 | name: "Chromatic via windows"
|
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: windows-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: yarn
|
15 | - name: prep package
|
16 | run: node ./scripts/rename.js storybook-chromatic
|
17 | - name: run chromatic
|
18 | run: yarn chromatic
|
19 | env:
|
20 | CHROMATIC_APP_CODE: ${{ secrets.CHROMATIC_APP_CODE }} |
\ | No newline at end of file |