Skip to content

Update base image to Github registry (#1296) #49

Update base image to Github registry (#1296)

Update base image to Github registry (#1296) #49

Workflow file for this run

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