Skip to content

Commit ff1125b

Browse files
committed
Add Github Action for windows build
Fixes #1070 This commit replaces Appveyor with a GitHub Actions workflow for Windows. It uses `setup-node@v4` with `node-version: lts/*` and `checkout@v4`. Also removes `appveyor.yml`.
1 parent b9baf14 commit ff1125b

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@v4
27+
with:
28+
node-version: "lts/*"
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)