message: fix: don't build M1 NodeJS binaries on old node versions
diff: @@ -134,22 +134,25 @@ jobs:
  shell: bash
  run: ./scripts/node_version.sh
  + # these older versions of NodeJS don't have M1 support
  +
  - name: Node 10
  + if: matrix.target_arch != 'arm64'
  shell: bash
  run: ./scripts/node_build.sh 10
  - name: Node 12
  - if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
  + if: matrix.target_arch != 'arm64'
  shell: bash
  run: ./scripts/node_build.sh 12
  - name: Node 14
  - if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
  + if: matrix.target_arch != 'arm64'
  shell: bash
  run: ./scripts/node_build.sh 14
  - name: Node 15
  - if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
  + if: matrix.target_arch != 'arm64'
  shell: bash
  run: ./scripts/node_build.sh 15
  