Skip to content

Commit

Permalink
fix(ci): get Node version from manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Sep 19, 2023
1 parent 11b6aea commit 27c42be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
- name: Checkout repository
uses: actions/[email protected]
- name: Get Node version from Node manifest
run: |
echo "NODE_VER=$(jq -r '.engines.node' package.json | sed 's/v//' )" >> $GITHUB_ENV
run: echo "NODE_VER=$(curl -s https://nwjs.io/versions | jq -r ".versions[0].components.node")" >> $GITHUB_ENV
- name: Setup Node
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 27c42be

Please sign in to comment.