From 8a694a21df324f987f8bc62c765391c978e4fcab Mon Sep 17 00:00:00 2001 From: Amir Baghdoust Date: Wed, 28 Aug 2024 08:56:21 +0200 Subject: [PATCH] ci: sets up docker compose alias for compatibility (#2342) --- .github/workflows/build-pr.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 7a6c434b70..4170af692c 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -134,12 +134,15 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - with: - ref: ${{ github.head_ref }} - uses: actions/setup-node@v3 with: node-version: 16 - + - name: Set up Docker Compose alias + run: | + sudo touch /usr/bin/docker-compose + echo 'docker compose --compatibility "$@"' | sudo tee /usr/bin/docker-compose + sudo chmod +x /usr/bin/docker-compose + - name: Restore Lerna id: yarn-cache uses: actions/cache@v2