From 2b7dab27658e487e5c0c1db07af38668e9bffbd2 Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Tue, 7 Nov 2023 05:21:15 +0500 Subject: [PATCH] build(snap): add yarn install before yarn build --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index bade7bc4b..359348fde 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -88,6 +88,7 @@ parts: # Set COMMIT_TAG before the build begins export COMMIT_TAG=$(cat $SNAPCRAFT_PART_BUILD/commit.txt) snapcraftctl build + yarn install yarn build # Copy files needed for staging cp $SNAPCRAFT_PART_BUILD/committag.json $SNAPCRAFT_PART_INSTALL/