mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 03:50:02 -04:00
added windows build testing
This commit is contained in:
parent
347d27c3d8
commit
4119a28bb4
1 changed files with 27 additions and 0 deletions
27
.github/workflows/ci.yml
vendored
27
.github/workflows/ci.yml
vendored
|
@ -33,3 +33,30 @@ jobs:
|
||||||
|
|
||||||
- name: Stop server after testing
|
- name: Stop server after testing
|
||||||
run: npm stop
|
run: npm stop
|
||||||
|
|
||||||
|
build-windows:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '20.8.0'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: Build libraries
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Start server
|
||||||
|
run: npm run manual-start
|
||||||
|
|
||||||
|
- name: Test server response
|
||||||
|
run: npm test
|
||||||
|
|
||||||
|
- name: Stop server after testing
|
||||||
|
run: npm stop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue