From 3f7caac628e7f0a51c4532fce585db8a90f2d759 Mon Sep 17 00:00:00 2001 From: MGJamJam Date: Tue, 16 Apr 2024 15:27:25 -0300 Subject: [PATCH] fixes is_compatible workflow --- .github/workflows/is-compatible.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/is-compatible.yml b/.github/workflows/is-compatible.yml index 3e39a07..c1c2ac7 100644 --- a/.github/workflows/is-compatible.yml +++ b/.github/workflows/is-compatible.yml @@ -4,13 +4,25 @@ on: [pull_request] jobs: compatibilitycheck: runs-on: ubuntu-latest + #TODO delete after merge to main + defaults: + run: + working-directory: ./bitmovin-analytics-datasource steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.ref }} + #TODO delete after merge to main + 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' + #TODO delete after merge to main + cache-dependency-path: './bitmovin-analytics-datasource/yarn.lock' - name: Install dependencies run: yarn install --immutable --prefer-offline - name: Build plugin