This commit is contained in:
tidusjar 2022-07-26 20:32:25 +01:00
commit 9dc608193b

View file

@ -10,9 +10,6 @@ jobs:
storybook-build: storybook-build:
# Operating System # Operating System
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src/Ombi/ClientApp
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -26,6 +23,7 @@ jobs:
key: node_modules-${{ hashFiles('**/yarn.lock') }} key: node_modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies - name: Install dependencies
working-directory: ./src/Ombi/ClientApp
run: yarn run: yarn
- name: Publish to Chromatic - name: Publish to Chromatic
@ -34,6 +32,7 @@ jobs:
with: with:
projectToken: 7c47e1a1a4bd projectToken: 7c47e1a1a4bd
exitZeroOnChanges: true exitZeroOnChanges: true
workingDir: ./src/Ombi/ClientApp
- name: Publish to Chromatic and auto accept changes - name: Publish to Chromatic and auto accept changes
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
@ -41,3 +40,4 @@ jobs:
with: with:
projectToken: 7c47e1a1a4bd projectToken: 7c47e1a1a4bd
autoAcceptChanges: true # 👈 Option to accept all changes autoAcceptChanges: true # 👈 Option to accept all changes
workingDir: ./src/Ombi/ClientApp