Revert "fix(Upload): always apply accept filter in onChange handler (… #2213
This file contains hidden or 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: 'Chromatic' | |
| on: push | |
| env: | |
| NODE_VERSION: 20.13.0 | |
| jobs: | |
| chromatic-deployment: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Load cached node_modules | |
| uses: actions/cache@v3 | |
| with: | |
| path: node_modules | |
| key: node_modules-${{ hashFiles('yarn.lock') }} | |
| - run: yarn | |
| - name: Publish to Chromatic | |
| uses: chromaui/action@v1 | |
| with: | |
| projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |