Skip to content

Commit 8a694a2

Browse files
authored
ci: sets up docker compose alias for compatibility (#2342)
1 parent c8ba489 commit 8a694a2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build-pr.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,15 @@ jobs:
134134
runs-on: ubuntu-20.04
135135
steps:
136136
- uses: actions/checkout@v3
137-
with:
138-
ref: ${{ github.head_ref }}
139137
- uses: actions/setup-node@v3
140138
with:
141139
node-version: 16
142-
140+
- name: Set up Docker Compose alias
141+
run: |
142+
sudo touch /usr/bin/docker-compose
143+
echo 'docker compose --compatibility "$@"' | sudo tee /usr/bin/docker-compose
144+
sudo chmod +x /usr/bin/docker-compose
145+
143146
- name: Restore Lerna
144147
id: yarn-cache
145148
uses: actions/cache@v2

0 commit comments

Comments
 (0)