mirror of https://github.com/actions/setup-node
Update versions.yml
This commit is contained in:
parent
0fe4194162
commit
9d6bd53ee5
|
@ -53,9 +53,9 @@ jobs:
|
||||||
- if: runner.os != 'Windows' && runner.os != 'macOS'
|
- if: runner.os != 'Windows' && runner.os != 'macOS'
|
||||||
name: Verify node and npm
|
name: Verify node and npm
|
||||||
run: |
|
run: |
|
||||||
. "$NVM_DIR/nvm.sh"
|
node_version=$(node --version)
|
||||||
[[ $(nvm version-remote "${{ matrix.node-version }}") =~ ^v([^.]+) ]]
|
major_version=${node_version:1:2}
|
||||||
__tests__/verify-node.sh "${BASH_REMATCH[1]}"
|
__tests__/verify-node.sh "$major_version"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
v8-canary-syntax:
|
v8-canary-syntax:
|
||||||
|
|
Loading…
Reference in New Issue