Skip to content

Commit b210d91

Browse files
authored
use pnpm script (#164)
* use pnpm script * allow manual push
1 parent 73c4cee commit b210d91

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/nutritionfacts-auto-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
set -euo pipefail
5656
TAG="${EVENT_TAG:-}"
5757
if [ -z "$TAG" ]; then
58-
TAG="latest"
58+
LATEST_VERSION=$(npm view @instructure.ai/aiinfo version)
59+
TAG="@instructure.ai/aiinfo@${LATEST_VERSION}"
5960
fi
6061
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
6162
@@ -85,7 +86,7 @@ jobs:
8586
run: |
8687
set -euo pipefail
8788
# Your custom command
88-
git release app nutritionfacts
89+
pnpm release app nutritionfacts
8990
9091
- name: Push branch
9192
if: steps.commit.outputs.no_changes == 'false'

0 commit comments

Comments
 (0)