Skip to content

Commit

Permalink
use brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
alixlahuec committed Sep 21, 2024
1 parent 68e23df commit c01a4bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Upload test reports
uses: dorny/test-reporter@v1
if: "$RUN_STORYBOOK && (success() || failure())"
if: ${{ env.RUN_STORYBOOK }} && (success() || failure())
with:
name: Tests
path: reports/tests-junit.xml
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Storybook CI
id: chromatic
uses: chromaui/action@v1
if: $RUN_STORYBOOK
if: ${{ env.RUN_STORYBOOK }}
with:
buildScriptName: "build-storybook"
exitOnceUploaded: true
Expand All @@ -70,7 +70,7 @@ jobs:
exitZeroOnChanges: true

- name: Storybook tests
if: $RUN_STORYBOOK
if: ${{ env.RUN_STORYBOOK }}
run: npm run ci:test-storybook
env:
TARGET_URL: "${{ steps.chromatic.outputs.storybookUrl }}"
Expand All @@ -79,15 +79,15 @@ jobs:

- name: Upload test reports
uses: dorny/test-reporter@v1
if: $RUN_STORYBOOK
if: ${{ env.RUN_STORYBOOK }}
with:
name: Storybook
path: reports/storybook-junit.xml
reporter: jest-junit

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
if: $RUN_STORYBOOK
if: ${{ env.RUN_STORYBOOK }}
with:
directory: ./coverage/
verbose: true
Expand Down

0 comments on commit c01a4bb

Please sign in to comment.