From 3c6b4a8b6d3ba11c5fd21376588822db7192f85e Mon Sep 17 00:00:00 2001 From: Ford Date: Wed, 15 Nov 2023 12:40:14 -0800 Subject: [PATCH] workflows: Add support for recent versions of node, add arm64 runner --- .github/workflows/publish.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c8e6129..6f9d5f2 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -15,23 +15,25 @@ jobs: # (https://github.com/bchr02/node-pre-gyp-github/issues/42) fail-fast: false matrix: - node_version: [14, 16, 17] + node_version: [18, 19, 20] system: - os: macos-latest target: x86_64-apple-darwin - - os: ubuntu-18.04 + - os: ubuntu-22.04 target: x86_64-unknown-linux-gnu + - os: macos-13-arm64 + target: aarch64-apple-darwin include: ## ARM64 builds are not working. No ARM64 GitHub Action runners available out of box. Need to nail down cross compile # - node_version: 16 # system: # os: macos-latest # target: aarch64-apple-darwin - - node_version: 18 + - node_version: 17 system: - os: ubuntu-22.04 + os: ubuntu-18.04 target: x86_64-unknown-linux-gnu - - node_version: 18 + - node_version: 17 system: os: macos-latest target: x86_64-apple-darwin