Update versions.yml

This commit is contained in:
aparnajyothi-y 2024-09-30 14:11:13 +05:30 committed by GitHub
parent 0fe4194162
commit 9d6bd53ee5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -53,9 +53,9 @@ jobs:
- if: runner.os != 'Windows' && runner.os != 'macOS'
name: Verify node and npm
run: |
. "$NVM_DIR/nvm.sh"
[[ $(nvm version-remote "${{ matrix.node-version }}") =~ ^v([^.]+) ]]
__tests__/verify-node.sh "${BASH_REMATCH[1]}"
node_version=$(node --version)
major_version=${node_version:1:2}
__tests__/verify-node.sh "$major_version"
shell: bash
v8-canary-syntax: