Skip to content

Update node.js.yml

Update node.js.yml #6

Workflow file for this run

name: Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
build-command: 'npm run "build linux"'
- os: windows-latest
build-command: 'npm run "build windows"'
- os: macos-latest
build-command: 'npm run "build mac"'
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'npm'
- run: npm ci
- name: Build
run: ${{ matrix.build-command }}
- uses: actions/upload-artifact@v4
with:
name: firmware-${{ matrix.os }}
path: |
dist/WLED-*