GC-2722 update readme with deprecation notice #401
Workflow file for this run
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: 'Chromatic Publish' | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, edited, synchronize] | |
jobs: | |
build: | |
if: ${{ github.event.label.name == 'chromatic' }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checking out project | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # 👈 Required to retrieve git history | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: install | |
run: npm install --ignore-scripts | |
- name: Publish to Chromatic | |
id: chromatic | |
uses: chromaui/action@v1 | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
autoAcceptChanges: true | |
- name: Comment on PR | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
_**🤖 Beep boop, here's your Chromatic url: ${{ steps.chromatic.outputs.storybookUrl }}**_ | |
comment_tag: 🤖 Beep boop |