Skip to content

Commit 2785aa1

Browse files
committed
Add Github Action for windows build
Fixes #1070 In this commit I have added build workflow for windows in github action.
1 parent b9baf14 commit 2785aa1

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

.github/workflows/node.js.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,32 @@ on:
77
branches: [main]
88

99
jobs:
10-
build:
10+
build-ubuntu:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
14-
- run: npm ci
15-
- run: npm test
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
- name: Install dependencies
16+
run: npm ci
17+
- name: Run tests
18+
run: npm test
19+
20+
build-windows:
21+
runs-on: windows-latest
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v4
25+
- name: Set up Node.js
26+
uses: actions/setup-node@v3
27+
with:
28+
node-version: "17"
29+
- name: Display Node.js version
30+
run: node --version
31+
- name: Display npm version
32+
run: npm --version
33+
- name: Display Python version
34+
run: python --version
35+
- name: Install dependencies
36+
run: npm ci
37+
- name: Run tests
38+
run: npm test

appveyor.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)