Skip to content

Commit 087db13

Browse files
committed
Fix website build
1 parent c13ab43 commit 087db13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Get version
1818
id: get_version
1919
run: |
20-
packageFile=$(if [ -d modules ]; then ls modules/*/package.json | head -n 1; else echo package.json; fi)
20+
packageFile=$(if [ -d modules ]; then ls modules/core/package.json | head -n 1; else echo package.json; fi)
2121
packageName=$(jq -r '.name' $packageFile)
2222
LATEST=$(npm show "${packageName}@latest" version | grep -o -E "^[0-9]+\.[0-9]+")
2323
echo "latest=${LATEST}-release" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)