1
0
mirror of https://github.com/fallenbagel/jellyseerr.git synced 2026-01-11 09:06:55 -05:00

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 # Set COMMIT_TAG before the build begins
export COMMIT_TAG=$(cat $SNAPCRAFT_PART_BUILD/commit.txt) export COMMIT_TAG=$(cat $SNAPCRAFT_PART_BUILD/commit.txt)
snapcraftctl build snapcraftctl build
yarn install yarn install --frozen-lockfile --network-timeout 1000000
yarn build yarn build
# Copy files needed for staging # Copy files needed for staging
cp $SNAPCRAFT_PART_BUILD/committag.json $SNAPCRAFT_PART_INSTALL/ cp $SNAPCRAFT_PART_BUILD/committag.json $SNAPCRAFT_PART_INSTALL/