Update node release based on maplibre-js release workflow - v2 with changelog (#1995)

Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
Andrew Calcutt
2024-01-08 12:51:31 -05:00
committed by GitHub
parent 8c940cb7a6
commit 43e52d054e
9 changed files with 159 additions and 387 deletions

View File

@@ -73,6 +73,12 @@ jobs:
arch: x86_64
- runs-on: [self-hosted, linux, ARM64]
arch: arm64
# Disabled until Metal backend is complete
# A release for macOS can be made from the opengl-2 branch
# - runs-on: macos-12
# arch: x86_64
# - runs-on: [self-hosted, macOS, ARM64]
# arch: arm64
- runs-on: windows-2022
arch: x86_64
continue-on-error: true
@@ -134,10 +140,10 @@ jobs:
libwebp-dev
/usr/sbin/update-ccache-symlinks
- name: Setup node
- name: Use Node.js from nvmrc
uses: actions/setup-node@v4
with:
node-version: 20
node-version-file: '.nvmrc'
- name: npm ci
run: npm ci --ignore-scripts
@@ -155,7 +161,7 @@ jobs:
"PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Setup cmake (Linux)
if: runner.os == 'Linux' && runner.arch != 'arm64'
if: runner.os == 'Linux' && matrix.arch != 'arm64'
uses: jwlawson/actions-setup-cmake@v1.14
with:
cmake-version: "3.19.x"
@@ -278,6 +284,5 @@ jobs:
# On PRs make sure that the npm package can be packaged.
- name: Pack
if: github.ref != 'refs/heads/main'
run: |
npm pack --dry-run