ci(package): run yarn before testing

This commit is contained in:
Thomas Hobson 2021-03-14 19:14:30 +13:00
parent 41d807dec4
commit ddbd4617f1
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ jobs:
PACKAGES_JSON=$(docker run --network container:api appropriate/curl -s http://localhost:6969/packages) PACKAGES_JSON=$(docker run --network container:api appropriate/curl -s http://localhost:6969/packages)
echo $PACKAGES_JSON echo $PACKAGES_JSON
echo Getting CLI ready
docker run -v "$PWD/cli:/app" --entrypoint yarn node:15
for package in $(jq -r '.[] | "\(.language)-\(.language_version)"' <<< "$PACKAGES_JSON") for package in $(jq -r '.[] | "\(.language)-\(.language_version)"' <<< "$PACKAGES_JSON")
do do
echo "Testing $package" echo "Testing $package"