Skip to content

Commit

Permalink
update git workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-prasad committed May 8, 2024
1 parent 184e7ce commit 9e33f8e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/master_dragonfruit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Node.js version
- name: Get NodeJS Version from package.json
run: |
echo "$(cat ./package.json)" | jq .engines.node | xargs -I {} echo "NodeVersion="{} >> $GITHUB_ENV
- name: Use Node.js ${{ env.NodeVersion }}
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: ${{ env.NodeVersion }}

- name: npm install, build, and test
run: |
Expand Down

0 comments on commit 9e33f8e

Please sign in to comment.