Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
w00000dy committed Mar 20, 2024
2 parents 35ac96a + 15412ea commit 93edb0d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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-*.exe
dist/WLED-*.deb
dist/WLED-*.dmg

0 comments on commit 93edb0d

Please sign in to comment.