Skip to content

Commit

Permalink
add node version info
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal authored Dec 11, 2023
1 parent bb67555 commit c987484
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions extra-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ runs:
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}

- name: Prepare
shell: bash
id: prepare
Expand All @@ -37,3 +38,10 @@ runs:
INPUT_PACKAGE_JSON_PATH: ${{ inputs.package_json_path }}
run: |
node "${{ github.action_path }}/index.js"
- name: Check versions
run: |
echo "NodeJS version:"
node --version
echo "NPM version:"
npm --version

0 comments on commit c987484

Please sign in to comment.