forked from Azure/azure-iot-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 696 Bytes
/
Copy pathnodejs.yml
File metadata and controls
30 lines (25 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Node CI
on:
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [24.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
timeout-minutes: 15
run: |
npm ci --legacy-peer-deps
npm run build --if-present
npm test