File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ jobs:
1717 chromatic :
1818 name : 📚 Chromatic
1919 runs-on : ubuntu-24.04-arm
20- if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
2120
2221 steps :
2322 - name : ☑️ Checkout
2423 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2524 with :
2625 fetch-depth : 0
27- ref : ${{ github.event.pull_request.head.ref || github.ref }}
26+ repository : ${{ github.event.pull_request.head.repo.full_name || github.repository }}
27+ ref : ${{ github.event.pull_request.head.sha || github.sha }}
2828
2929 - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3030 with :
3838 - name : 📦 Install dependencies
3939 run : pnpm install
4040
41- - name : 🧪 Run Chromatic Visual Tests
41+ - name : 🧪 Run Chromatic Visual and Accessibility Tests
4242 uses : chromaui/action@a8ce9c58f59be5cc7090cadfc8f130fb08fcf0c3 # v15.1.0
43- with :
44- projectToken : ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
4543 env :
4644 CHROMATIC_BRANCH : ${{ github.event.pull_request.head.ref || github.ref_name }}
4745 CHROMATIC_SHA : ${{ github.event.pull_request.head.sha || github.sha }}
Original file line number Diff line number Diff line change 11{
2+ "projectToken" : " chpt_e46907a72045a1b" ,
23 "onlyChanged" : true ,
34 "autoAcceptChanges" : " main" ,
45 "exitZeroOnChanges" : false ,
You can’t perform that action at this time.
0 commit comments