Skip to content

Commit 70f855d

Browse files
committed
test: use the latest NPM release
1 parent 8f9aa56 commit 70f855d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Get Latest Next Version
3434
id: get_latest_version
3535
run: |
36-
latest_version=$(curl -s https://api.github.com/repos/vercel/next.js/releases/latest | jq -r '.tag_name')
36+
latest_version=$(curl -s https://registry.npmjs.org/-/package/next/dist-tags | jq -r '.latest')
3737
echo "Latest version: $latest_version"
3838
echo "LATEST_VERSION=$latest_version" >> $GITHUB_ENV
3939
echo "LATEST_VERSION=$latest_version" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)