Refactor npm commands in workflows for consistency and improved clarity

This commit is contained in:
mr. M
2025-02-03 21:27:38 +01:00
parent b1b83ae32a
commit 42dbff273f
3 changed files with 4 additions and 4 deletions

View File

@@ -219,8 +219,8 @@ jobs:
run: |
echo "$(pwd)"
ls .
echo "version=$(npm run surfer get version | xargs)" >> $GITHUB_OUTPUT
if [[ $(npm run surfer get version | xargs) == ${{ needs.build-data.outputs.version }} ]]; then
echo "version=$(npm run surfer -- get version | xargs)" >> $GITHUB_OUTPUT
if [[ $(npm run surfer -- get version | xargs) == ${{ needs.build-data.outputs.version }} ]]; then
echo ">>> Version matches"
else
echo ">>> Version mismatch"