-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (36 loc) · 1.05 KB
/
license-checker.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "License Check Audit"
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
schedule:
- cron: "0 3 * * *"
jobs:
license-check-golang-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Golang | Install Golang
uses: actions/setup-go@v5
with:
go-version: 1.23.3
- name: Golang | Install License Checker
run: go install github.com/google/go-licenses@latest
- name: Golang | Run License Check
run: make license-check-be
license-check-npm-frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: NPM | Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 23.3.0
- name: Install Dependencies
run: (cd services/frontend ; npm install)
- name: NPM | Install License Checker
run: npm install -g license-checker
- name: NPM | Run License Check
run: make license-check-fe