Skip to content

Commit

Permalink
[WIP] workflow: use node-version-file
Browse files Browse the repository at this point in the history
  • Loading branch information
thlehmann-ionos committed Jul 8, 2024
1 parent 6aaf768 commit b817a91
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/easycloud-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,10 @@ jobs:
with:
submodules: true

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}.
node-version-file: "package.json"

- name: Install dependencies & build
env:
Expand Down

0 comments on commit b817a91

Please sign in to comment.