Skip to content

Commit

Permalink
fix: fix condition issue when installing deps at image action (#84)
Browse files Browse the repository at this point in the history
Because

- There has issue when installing deps at image action

This commit

- Fix above issue
  • Loading branch information
EiffelFly committed Jun 30, 2022
1 parent e50344b commit 03b32b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
cache: "yarn"

- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfileme == 'release'
if: github.event_name == 'release'
run: yarn install --frozen-lockfile

- name: Download airbyte icons
if: github.event_name == 'release'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ jobs:
# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
# with:
# path: |
# **/.eslintcache
# **/.eslintcache
# ${{ steps.yarn-cache-dir-path.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-

- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile

- name: Run linter
Expand Down

0 comments on commit 03b32b9

Please sign in to comment.