Skip to content

Update build-release.yml to setup-node v4 and up node version to 22 #517

Update build-release.yml to setup-node v4 and up node version to 22

Update build-release.yml to setup-node v4 and up node version to 22 #517

Workflow file for this run

name: build-release
on:
push:
workflow_dispatch:
jobs:
build-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: "npm"
cache-dependency-path: package-lock.json
- name: Install build dependencies
run: sudo apt-get install ninja-build
- name: Install npm dependencies
run: npm -g install --force --include=dev
- name: Build with Emscripten
run: |
$GITHUB_WORKSPACE/ci/00_linux_setup.bash
$GITHUB_WORKSPACE/ci/10_linux_build.bash
- name: Release artifacts
uses: actions/[email protected]
with:
name: erdblick
path: |
static/*