Update set_status workflow branch to main #34
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: dpc-sdp/ripple/commit | |
on: | |
workflow_call: | |
push: | |
branches-ignore: | |
- master | |
env: | |
CHROMATIC_APP_CODE: ${{ secrets.CHROMATIC_APP_CODE }} | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
test: | |
needs: | |
- build | |
uses: ./.github/workflows/test.yml | |
storybook: | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 # 👈 Required to retrieve git history | |
- uses: actions/[email protected] | |
with: | |
node-version: '14' | |
- name: Restore cache | |
uses: actions/[email protected] | |
with: | |
key: v10-deps-${{ hashFiles('yarn.lock') }} | |
path: | | |
./.cache | |
**/node_modules | |
- name: Run UI test | |
run: cd src && yarn chromatic --project-token $CHROMATIC_APP_CODE --exit-zero-on-changes |