message: chore: validate yamory script
diff: @@ -17,10 +17,20 @@ jobs:
  with:
  node-version: 16.x
  cache: yarn
  + - name: download and validate Yamory script
  + env:
  + # https://cli.yamory.io/yamory-app-library-scan-scripts/yamory-yarn-sha512sum.txt
  + YAMORY_YARN_SCRIPT_SHA512: "940f8755e77a9a19e7bbbb673936d8779bfd9f9871994e6f86855907917965e3ac732a39d761be4b384fefed696b9c72cfd6752a14fc417ebde4126a75b5f40e"
  + working-directory: /tmp
  + run: |
  + curl -sSf -L -o ./yamory-yarn.sh \
  + https://localscanner.yamory.io/script/yarn
  + echo "${YAMORY_YARN_SCRIPT_SHA512} yamory-yarn.sh" | sha512sum --check -
  + chmod +x ./yamory-yarn.sh
  - name: run Yamory
  run: |
  - ls -1 -d packages/*/ | xargs -I {} bash -c "$(curl -sSf -L https://localscanner.yamory.io/script/yarn)" -- --manifest {}/package.json
  - ls -1 -d examples/*/ | xargs -I {} bash -c "$(curl -sSf -L https://localscanner.yamory.io/script/yarn)" -- --manifest {}/package.json
  + ls -d packages/*/ | xargs -I {} /tmp/yamory-yarn.sh --manifest {}/package.json
  + ls -d examples/*/ | xargs -I {} /tmp/yamory-yarn.sh --manifest {}/package.json
  env:
  CI: true
  PROJECT_GROUP_KEY: js-sdk
  