Skip to content

Commit

Permalink
🔨 Add archived packages to update script
Browse files Browse the repository at this point in the history
  • Loading branch information
stoe committed Jul 7, 2024
1 parent 390d571 commit 3393a4d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/scripts/update.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3393a4d

Please sign in to comment.