Skip to content

Commit 41a4c6b

Browse files
Gha integration (#339)
1 parent 62df980 commit 41a4c6b

File tree

3 files changed

+103
-0
lines changed

3 files changed

+103
-0
lines changed

.github/depandabot.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright 2024 Intel Corporation
3+
4+
version: 2
5+
updates:
6+
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
12+
- package-ecosystem: "docker"
13+
directory: "build/aether-roc-gui"
14+
schedule:
15+
interval: "weekly"
16+
17+
- package-ecosystem: "gomod"
18+
directory: "/"
19+
schedule:
20+
interval: "weekly"
21+
22+
- package-ecosystem: "npm"
23+
directory: "/"
24+
schedule:
25+
interval: "weekly"

.github/workflows/master.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# Copyright 2024 Intel Corporation
3+
4+
name: Master workflow
5+
on:
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
11+
jobs:
12+
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Use Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version-file: 'package.json'
21+
- name: Build
22+
run: |
23+
npm install
24+
npm run build:prod
25+
26+
lint:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Use Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version-file: 'package.json'
34+
- name: lint
35+
run: |
36+
NG_CLI_ANALYTICS=false npm install
37+
npm run lint
38+
39+
unit-tests:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Use Node.js
44+
uses: actions/setup-node@v4
45+
with:
46+
node-version-file: 'package.json'
47+
- name: Unit tests
48+
run: |
49+
npm install
50+
npm test
51+
52+
docker-build:
53+
runs-on: ubuntu-latest
54+
steps:
55+
- uses: actions/checkout@v4
56+
- name: Use Node.js
57+
uses: actions/setup-node@v4
58+
- name: Build Docker image
59+
run: make aether-roc-gui-docker
60+
61+
license-check:
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: actions/checkout@v4
65+
- name: reuse lint
66+
uses: fsfe/reuse-action@v3
67+
68+
fossa-check:
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@v4
72+
- name: FOSSA scan
73+
uses: fossa-contrib/fossa-action@v3
74+
with:
75+
fossa-api-key: 6d304c09a3ec097ba4517724e4a4d17d

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "aether-roc-gui",
33
"version": "0.0.0",
4+
"engines": {
5+
"node": "16.14.0"
6+
},
47
"scripts": {
58
"ng": "ng",
69
"start": "ng serve",

0 commit comments

Comments
 (0)