Skip to content

Commit 75a2fc5

Browse files
committed
Update CI base image & fix yarn PK, to fix the build
1 parent 394604f commit 75a2fc5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build & test
88
runs-on: ubuntu-18.04
99
container:
10-
image: httptoolkit/act-build-base:v2.0.0
10+
image: httptoolkit/act-build-base@sha256:f6f39d94ee4fadf85d2ad1d2c80a8df4c06b2e6eef559cda4269841265ba2643
1111
options: "--privileged" # Required for DIND tests
1212
env:
1313
DIND_HOST: unix:///tmp/docker.sock
@@ -33,11 +33,14 @@ jobs:
3333

3434
- name: Prepare test environment
3535
run: |
36+
# Fix annoying Yarn issue: https://github.com/yarnpkg/yarn/issues/7866
37+
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
38+
3639
sudo apt-get update
37-
sudo apt-get install p7zip-full xterm
40+
sudo apt-get install -y p7zip-full xterm
3841
3942
wget https://downloads.slack-edge.com/linux_releases/slack-desktop-4.12.2-amd64.deb
40-
sudo apt install ./slack-desktop-4.12.2-amd64.deb
43+
sudo apt install -y ./slack-desktop-4.12.2-amd64.deb
4144
4245
sudo cp test/no-sandbox-docker-wrapper.sh /usr/local/bin/google-chrome
4346
sudo cp test/no-sandbox-docker-wrapper.sh /usr/local/bin/slack

0 commit comments

Comments
 (0)