build(snap): add frozen-lockfile and increase network timeout for yarn install

This commit is contained in:
fallenbagel
2023-11-07 05:24:50 +05:00
parent 2b7dab2765
commit 8f9d3f7fbd

View File

@@ -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/