diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89d1ec4c..d43724ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,13 +43,13 @@ jobs: key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- + + - name: Get installed Playwright version + run: echo "PLAYWRIGHT_VERSION=$(cat pnpm-lock.yaml | grep /playwright@ | sed -r 's/(.*@)([0-9.]*)(:)/\2/')" >> $GITHUB_ENV - name: Install dependencies run: pnpm install --ignore-scripts - - name: Get installed Playwright version - run: echo "PLAYWRIGHT_VERSION=$(pnpm ls -r | grep playwright | sed 's/.* //')" >> $GITHUB_ENV - - uses: actions/cache@v3 name: Setup playwright cache id: playwright-cache