From c0a3f45640035053f025b5a321db99f0e0d6cfa8 Mon Sep 17 00:00:00 2001 From: MGJamJam Date: Tue, 16 Apr 2024 11:16:55 -0300 Subject: [PATCH] use sparse-checkout with cone-mode false --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc8cd11..c81e803 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,19 +9,16 @@ jobs: runs-on: ubuntu-latest env: GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} - defaults: - run: - working-directory: ./bitmovin-analytics-datasource steps: - uses: actions/checkout@v4 with: - path: bitmovin-analytics-datasource + sparse-checkout: 'bitmovin-analytics-datasource' + sparse-checkout-cone-mode: false - name: Setup Node.js environment uses: actions/setup-node@v4 with: node-version: '20' cache: 'yarn' - path: bitmovin-analytics-datasource - name: Install dependencies run: yarn install --immutable --prefer-offline