Skip to content

Commit

Permalink
Merge pull request #504 from 5saviahv/windows
Browse files Browse the repository at this point in the history
Add Windows build
  • Loading branch information
5saviahv committed Jun 10, 2024
2 parents 08be87d + c6b2038 commit 626dd94
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: Linux build

on:
push:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Windows build

on:
push:
pull_request:

jobs:
build:
name: Node ${{ matrix.node-version }}
runs-on: windows-latest

strategy:
matrix:
# mocha nolonger supports node 10
node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 21.x]

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: |
npm ci
- name: Run Tests
run: |
npm test

0 comments on commit 626dd94

Please sign in to comment.