build(snap): add yarn install before yarn build
This commit is contained in:
@@ -88,6 +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 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/
|
||||||
|
|||||||
Reference in New Issue
Block a user