Skip to content

Commit

Permalink
Add Github Action for windows build
Browse files Browse the repository at this point in the history
Fixes zulip#1070

In this commit I have added build workflow for windows in github
action.
  • Loading branch information
yaminijha1 committed Jan 10, 2024
1 parent b9baf14 commit 2785aa1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 26 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,32 @@ on:
branches: [main]

jobs:
build:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm test
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test

build-windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "17"
- name: Display Node.js version
run: node --version
- name: Display npm version
run: npm --version
- name: Display Python version
run: python --version
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
22 changes: 0 additions & 22 deletions appveyor.yml

This file was deleted.

0 comments on commit 2785aa1

Please sign in to comment.