From 3393a4d909f1f7d376e42ff7eafe21c95f46bb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20St=C3=B6lzle?= Date: Sun, 7 Jul 2024 09:32:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Add=20archived=20packages=20to?= =?UTF-8?q?=20update=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/update.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/scripts/update.sh b/.github/scripts/update.sh index ded922e..653a7df 100755 --- a/.github/scripts/update.sh +++ b/.github/scripts/update.sh @@ -1,9 +1,24 @@ -#!/usr/bin/env bash +#!/usr/bin/env zsh set -eo pipefail npx --no-install npm-check-updates -u -ws --root + +# packages +print -P "\n[ %5FUpdating packages%f ]" + npm install --ignore-scripts -ws --include-workspace-root npm run format --if-present npm run build --if-present npm run test --if-present + +# archived packages +pushd archived/vartastorage + print -P "\n[ %5FUpdating archived/vartastorage%f ]" + + npx --no-install npm-check-updates -u + npm install --ignore-scripts + npm run format --if-present + npm run build --if-present + npm run test --if-present +popd