Skip to content

Commit

Permalink
ci: install the version of node from the package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Jul 10, 2024
1 parent a1d8409 commit 1d4e73b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,10 @@ jobs:
uses: actions/[email protected]
with:
token: ${{ secrets.DEPLOYMENT_TOKEN }}
- name: Find the version of Node from package.json
id: node-version
run: echo "version=$(jq -r .engines.node package.json)" >> $GITHUB_OUTPUT
- name: Install Node
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
node-version: ${{ steps.node-version.outputs.version }}
node-version-file: package.json
- uses: DanySK/[email protected]
with:
build-command: true
Expand Down

0 comments on commit 1d4e73b

Please sign in to comment.