update guardian ad-lite route to new name #10505
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 | |
on: | |
push: | |
jobs: | |
upload-storybook: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: support-frontend | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
# Cache npm dependencies using https://github.com/bahmutov/npm-install | |
- name: Cache dependencies | |
uses: bahmutov/npm-install@v1 | |
with: | |
working-directory: support-frontend | |
- name: Install | |
run: yarn | |
- uses: chromaui/[email protected] | |
with: | |
workingDir: support-frontend | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
buildScriptName: "build-storybook" | |
exitOnceUploaded: true | |
onlyChanged: "!(main)" # only turbosnap on non-main branches |