diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 02b78783..6518741a 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -42,7 +42,7 @@ jobs: run: | node -e "console.log(process.version)" NODE_VERSION=$(node -e "console.log((process.version).split('.')[0])") - if [[ ${NODE_VERSION} != "v1" ]]; then + if [[ ${NODE_VERSION} != "v${{ matrix.version }}" ]]; then echo "Node version is not ${{ matrix.version }}. It is $NODE_VERSION" exit 1 fi @@ -79,7 +79,7 @@ jobs: run: | node -e "console.log(process.version)" NODE_VERSION=$(node -e "console.log((process.version).split('.')[0])") - if [[ ${NODE_VERSION} != "v1" ]]; then + if [[ ${NODE_VERSION} != "v${{ matrix.version }}" ]]; then echo "Node version is not ${{ matrix.version }}. It is $NODE_VERSION" exit 1 fi \ No newline at end of file