Skip to content

Commit d1d08c4

Browse files
committed
👷 fix build workflow
1 parent 1444d90 commit d1d08c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/setup-node@v2
1818
with:
1919
node-version: '20'
20+
registry-url: 'https://registry.npmjs.org'
2021

2122
- name: Install Dependencies
2223
run: npm install
@@ -27,7 +28,7 @@ jobs:
2728
- name: Check the version
2829
id: check
2930
run: |
30-
CURRENT_VERSION=$(JQ -r .version package.json)
31+
CURRENT_VERSION=$(jq -r .version package.json)
3132
LATEST_TAG=$(git describe --tags --abbrev=0 2>\dev\null || echo "v0.0.0")
3233
echo "Latest Tag: $LATEST_TAG"
3334

0 commit comments

Comments
 (0)