Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 30 additions & 29 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,48 @@ name: Build MacOS Latest

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
types: [opened, synchronize, reopened, edited]

jobs:
build:
strategy:
matrix:
node-version: [14.x, 15.x, 16.x]
node-version: [18.x, 20.x]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm i
- name: Install Dependencies
run: npm i

- name: Check lint
run: npm run lint
- name: Check lint
run: npm run lint

- name: Build the app
run: npm run electron:build
- name: Run headless unit test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
- name: Build the app
run: npm run electron:build
- name: Run headless unit test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
# Enable if you have e2e tests
# - name: Run headless e2e test
# uses: GabrielBB/xvfb-action@v1
Expand Down
57 changes: 29 additions & 28 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Build Ubuntu Latest

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
types: [opened, synchronize, reopened, edited]

jobs:
build:
Expand All @@ -13,36 +14,36 @@ jobs:
node-version: [14.x, 15.x, 16.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm i
- name: Install Dependencies
run: npm i

- name: Check lint
run: npm run lint
- name: Check lint
run: npm run lint

- name: Build the app
run: npm run electron:build
- name: Run headless unit test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
- name: Build the app
run: npm run electron:build
- name: Run headless unit test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
# Enable if you have e2e tests
# - name: Run headless e2e test
# uses: GabrielBB/xvfb-action@v1
Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,47 @@ name: Build Windows Latest

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]

branches: [main]
types: [opened, synchronize, reopened, edited]
jobs:
build:
strategy:
matrix:
node-version: [14.x, 15.x, 16.x]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm i
- name: Install Dependencies
run: npm i

- name: Check lint
run: npm run lint
- name: Check lint
run: npm run lint

- name: Build the app
run: npm run electron:build
- name: Run headless unit test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
- name: Build the app
run: npm run electron:build
- name: Run headless unit test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
# Enable if you have e2e tests
# - name: Run headless e2e test
# uses: GabrielBB/xvfb-action@v1
Expand Down
59 changes: 30 additions & 29 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ name: "CodeQL"

on:
push:
branches: [ main, owner_review ]
branches: [main, owner_review]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [main]
types: [opened, synchronize, reopened, edited]
schedule:
- cron: '41 2 * * 0'
- cron: "41 2 * * 0"

jobs:
analyze:
Expand All @@ -28,40 +29,40 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
5 changes: 3 additions & 2 deletions HOW_TO.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
###First check it exists a version of your library compatible with the version of Angular defined in package.json.
### First check it exists a version of your library compatible with the version of Angular defined in package.json

How to install ng-bootstrap

ng add @ng-bootstrap/ng-bootstrap
Expand All @@ -16,7 +17,7 @@ ng add @angular/material
You will get the following questions:

? Choose a prebuilt theme name, or "custom" for a custom theme: *Choose any theme you like here*
? Set up global Angular Material typography styles? *Yes*
? Set up global Angular Material typography styles? *Yes*
? Set up browser animations for Angular Material? *Yes*

Angular Material will start installing, but you will get the following error after installation:
Expand Down
Loading
Loading