Skip to content

Commit 9385dd1

Browse files
committed
feat: add @unraid/vmngr to monorepo
1 parent 9facc6c commit 9385dd1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+41400
-61
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Libvirt CI
2+
3+
on:
4+
push:
5+
paths:
6+
- 'libvirt/**'
7+
pull_request:
8+
paths:
9+
- 'libvirt/**'
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
19+
defaults:
20+
run:
21+
working-directory: ./libvirt
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
with:
26+
submodules: recursive
27+
28+
- uses: actions/setup-python@v5
29+
with:
30+
python-version: '3.10'
31+
32+
- name: Set Node.js
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: 20.x
36+
cache: 'pnpm'
37+
cache-dependency-path: './libvirt/pnpm-lock.yaml'
38+
39+
- name: Cache APT Packages
40+
uses: awalsh128/cache-apt-pkgs-action@v1.4.3
41+
with:
42+
packages: libvirt-dev
43+
version: 1.0
44+
45+
- name: pnpm install
46+
run: pnpm install
47+
48+
- name: pnpm lint/bindings
49+
run: pnpm run lint/bindings
50+
continue-on-error: true
51+
52+
- name: lint/examples
53+
run: pnpm run lint/examples
54+
continue-on-error: true
55+
56+
- name: test
57+
run: pnpm run test

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
shamefully-hoist=true
2+
strict-peer-dependencies=false
3+
auto-install-peers=true

api/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ x-common: &common
22
volumes:
33
- ./:/app
44
- pnpm-store:/pnpm/store
5+
- ../../libvirt:/libvirt
56
environment:
67
- IS_DOCKER=true
78
- GIT_SHA=${GIT_SHA:-unknown}

0 commit comments

Comments
 (0)