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:
13
.github/workflows/node-ci.yml
vendored
13
.github/workflows/node-ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user