From 8f9d3f7fbdf4103f2124482458b5b75ab3a123c9 Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Tue, 7 Nov 2023 05:24:50 +0500 Subject: [PATCH] build(snap): add frozen-lockfile and increase network timeout for yarn install --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 359348fd..3f9d7944 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -88,7 +88,7 @@ parts: # Set COMMIT_TAG before the build begins export COMMIT_TAG=$(cat $SNAPCRAFT_PART_BUILD/commit.txt) snapcraftctl build - yarn install + yarn install --frozen-lockfile --network-timeout 1000000 yarn build # Copy files needed for staging cp $SNAPCRAFT_PART_BUILD/committag.json $SNAPCRAFT_PART_INSTALL/