Skip to content

Commit

Permalink
DependabotのNode.jsのバージョンを決めうちにする (#4472)
Browse files Browse the repository at this point in the history
* DependabotのNode.jsのバージョンを決めうちにする

* nodeのバージョンを直してあげたよ! (#4473)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
massongit and github-actions[bot] authored Sep 12, 2024
1 parent 212f06b commit 5b117b3
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 27 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }}
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: bash "${GITHUB_WORKSPACE}/scripts/release/change_file_and_env.sh"
- name: Get Dependabot Node.js version
if: github.event_name != 'pull_request' || github.event.action != 'closed'
id: get_dependabot_node_version
run: bash "${GITHUB_WORKSPACE}/scripts/release/update_package/get_dependabot_node_version.sh"
- run: echo "TAG_NAME=${HEAD_REF//\//-}" >> "$GITHUB_ENV"
env:
HEAD_REF: ${{github.head_ref || github.event.merge_group.head_ref}}
Expand All @@ -210,8 +206,8 @@ jobs:
- name: Update versions
if: github.event_name != 'pull_request' || github.event.action != 'closed'
env:
DEPENDABOT_NODE_VERSION: ${{steps.get_dependabot_node_version.outputs.node_version}}
DEPENDABOT_NPM_VERSION: ${{steps.get_dependabot_node_version.outputs.npm_version}}
DEPENDABOT_NODE_VERSION: "20.17.0"
DEPENDABOT_NPM_VERSION: "10.8.2"
NODE_VERSION: ${{steps.get_node_version.outputs.node_version}}
NPM_VERSION: ${{steps.get_node_version.outputs.npm_version}}
run: bash "${GITHUB_WORKSPACE}/scripts/release/update_package/update_versions.sh"
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"webpack-dev-server": "5.1.0"
},
"engines": {
"node": "^16.19.0 || ^22.8.0",
"npm": "^8.19.2 || ^10.8.2"
"node": "^20.17.0 || ^22.8.0",
"npm": "^10.8.2"
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"textlint-rule-terminology": "5.2.7"
},
"engines": {
"node": "^16.19.0 || ^22.8.0",
"npm": "^8.19.2 || ^10.8.2"
"node": "^20.17.0 || ^22.8.0",
"npm": "^10.8.2"
}
}
9 changes: 0 additions & 9 deletions scripts/release/update_package/get_dependabot_node_version.sh

This file was deleted.

4 changes: 2 additions & 2 deletions test/e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"eslint-plugin-cypress": "3.5.0"
},
"engines": {
"node": "^16.19.0 || ^22.8.0",
"npm": "^8.19.2 || ^10.8.2"
"node": "^20.17.0 || ^22.8.0",
"npm": "^10.8.2"
}
}

0 comments on commit 5b117b3

Please sign in to comment.