Skip to content

Commit c38eb29

Browse files
build: use node version from "engines"
https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#node-version-file Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
1 parent 2d3638e commit c38eb29

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup node env 📦
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 17
27+
node-version-file: 'package.json'
2828
check-latest: true
2929
cache: 'npm'
3030

.github/workflows/ct.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup node env 📦
1616
uses: actions/setup-node@v3
1717
with:
18-
node-version: 10
18+
node-version-file: 'package.json'
1919

2020
- name: Check out repository ✨ (non-dependabot)
2121
if: ${{ github.actor != 'dependabot[bot]' }}

0 commit comments

Comments
 (0)