Skip to content

Commit

Permalink
fix(nvmrc-up-pr): rm sort by date (#553)
Browse files Browse the repository at this point in the history
Убираем сортировку по дате, так как могут быть выпущены патчи для старых версий. При этом файл уже отсортирован по версиям
  • Loading branch information
SevereCloud authored Jan 27, 2025
1 parent 9585af2 commit 8e5daf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/node/nvmrc-up-pr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
using: "composite"
steps:
- name: Run update version
run: curl -s https://nodejs.org/dist/index.json | jq 'map(select(.lts != false))|sort_by(.date)[-1].version' -r > .nvmrc
run: curl -s https://nodejs.org/dist/index.json | jq 'map(select(.lts != false))[0].version' -r > .nvmrc
shell: bash

- name: Create Pull Request
Expand Down

0 comments on commit 8e5daf6

Please sign in to comment.