Skip to content

Commit b745393

Browse files
author
Alberto Iannaccone
committed
improve node js installation in workflow
1 parent fa45bc8 commit b745393

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/compose-full-changelog.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
env:
88
CHANGELOG_ARTIFACTS: changelog
9+
# See: https://github.com/actions/setup-node/#readme
10+
NODE_VERSION: 14.x
911

1012
jobs:
1113
create-changelog:
@@ -15,10 +17,10 @@ jobs:
1517
- name: Checkout
1618
uses: actions/checkout@v2
1719

18-
- name: Install Node.js 14.x
19-
uses: actions/setup-node@v1
20+
- name: Install Node.js
21+
uses: actions/setup-node@v3
2022
with:
21-
node-version: '14.x'
23+
node-version: ${{ env.NODE_VERSION }}
2224
registry-url: 'https://registry.npmjs.org'
2325

2426
- name: Get Tag

0 commit comments

Comments
 (0)