Skip to content

Commit

Permalink
Update node release based on maplibre-js release workflow - v2 with c…
Browse files Browse the repository at this point in the history
…hangelog (#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>
  • Loading branch information
4 people committed Jan 8, 2024
1 parent 8c940cb commit 43e52d0
Show file tree
Hide file tree
Showing 9 changed files with 159 additions and 387 deletions.
259 changes: 0 additions & 259 deletions .github/workflows/node-ci-mac.yml

This file was deleted.

13 changes: 9 additions & 4 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -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
Loading

0 comments on commit 43e52d0

Please sign in to comment.