Skip to content

Commit 36e8711

Browse files
authored
Update build-pr.yml
1 parent 30db80f commit 36e8711

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build-pr.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ jobs:
137137
- uses: actions/setup-node@v2
138138
with:
139139
node-version: 16
140+
- name: Ensure docker-compose exists and has correct permissions
141+
run: |
142+
sudo touch /usr/bin/docker-compose
143+
sudo chmod 755 /usr/bin/docker-compose
144+
sudo apt-get update && apt-get install gnupg wget -y && wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && apt-get update && apt-get install google-chrome-stable -y --no-install-recommends && rm -rf /var/lib/apt/lists/*
145+
140146
141147
- name: Restore Lerna
142148
id: yarn-cache
@@ -174,11 +180,7 @@ jobs:
174180
run: |
175181
yarn workspace @telekom/scale-visual-tests copy
176182
177-
- name: Ensure docker-compose exists and has correct permissions
178-
run: |
179-
sudo touch /usr/bin/docker-compose
180-
docker -v
181-
183+
182184
- name: Run visual tests
183185
id: visual-tests
184186

0 commit comments

Comments
 (0)