◐ Shell
clean mode source ↗

tools: use LTS Node.js in notify-on-push workflow · nodejs/node@5b49178

Original file line numberDiff line numberDiff line change

@@ -7,6 +7,9 @@ name: Notify on Push

77

permissions:

88

contents: read

99
10+

env:

11+

NODE_VERSION: lts/*

12+
1013

jobs:

1114

notifyOnForcePush:

1215

name: Notify on Force Push on `main`

@@ -33,6 +36,10 @@ jobs:

3336

# cannot use ubuntu-slim here because rtCamp/action-slack-notify is dockerized

3437

runs-on: ubuntu-24.04-arm

3538

steps:

39+

- name: Install Node.js

40+

uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

41+

with:

42+

node-version: ${{ env.NODE_VERSION }}

3643

- name: Validate commits

3744

run: echo "$COMMITS" | npx -q core-validate-commit -

3845

id: commit-check