Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lubnar committed Oct 24, 2024
1 parent ad79ace commit aff2477
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-onyx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ jobs:
key: onyx-${{ hashFiles('onyx/**') }}
build-typescript-apps:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'yaku-apps-typescript'
permissions:
contents: read
packages: write
Expand All @@ -59,8 +56,8 @@ jobs:
id: turbo-cache
uses: actions/cache/restore@v4
with:
path: .turbo
key: typescript-apps-turbo-${{ hashFiles('./**') }}
path: yaku-apps-typescript/.turbo
key: typescript-apps-turbo-${{ hashFiles('yaku-apps-typescript/**') }}
lookup-only: true
restore-keys: |
typescript-apps-turbo-
Expand All @@ -70,6 +67,7 @@ jobs:
node-version: 18
check-latest: true
cache: 'npm'
cache-dependency-path: yaku-apps-typescript/package-lock.json

- if: ${{ steps.turbo-cache.outputs.cache-hit != 'true'}}
name: Install and Build
Expand All @@ -81,7 +79,7 @@ jobs:
uses: actions/cache/save@v4
with:
path: |
.turbo
yaku-apps-typescript/.turbo
key: typescript-apps-turbo-${{ hashFiles('yaku-apps-typescript/**') }}
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit aff2477

Please sign in to comment.