Skip to content
Merged
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
15 changes: 5 additions & 10 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ESLint check

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

Expand All @@ -14,18 +14,13 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- name: 🔨 checkout repository
uses: actions/checkout@v4
- name: 🔨 use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/checkout@v5
- name: 🔨 use Node.js 22
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
node-version: "22"
- name: 🔨 install package dependencies
run: npm ci
- name: 🔨 run lint check
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,21 @@ name: Build app

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

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- name: 🔨 checkout repository
uses: actions/checkout@v4
- name: 🔨 use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/checkout@v5
- name: 🔨 use Node.js 22
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
node-version: "22"
- name: 🔨 install package dependencies
run: npm ci
- name: 🔨 run test build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy to FTP
name: Publish to CDN

on:
push:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to NPM

on:
push:
tags:
- "v*"

env:
HUSKY_SKIP: true

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: actions/setup-node@v5
with:
node-version: "22"

- name: Install dependencies
run: npm ci

- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
echo ":::: Publishing as $(npm whoami)"
npm run release:publish
env:
NPM_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
15 changes: 5 additions & 10 deletions .github/workflows/tsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: TypeScript check

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

Expand All @@ -14,18 +14,13 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- name: 🔨 checkout repository
uses: actions/checkout@v4
- name: 🔨 use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/checkout@v5
- name: 🔨 use Node.js 22
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
node-version: "22"
- name: 🔨 install package dependencies
run: npm ci
- name: 🔨 run typescript check
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/ui5lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: UI5 Lint check

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

Expand All @@ -14,18 +14,13 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- name: 🔨 checkout repository
uses: actions/checkout@v4
- name: 🔨 use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/checkout@v5
- name: 🔨 use Node.js 22
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
node-version: "22"
- name: 🔨 install package dependencies
run: npm ci
- name: 🔨 run typescript check
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
> **Enhance your SAP UI5/OpenUI5 applications with modern Font Awesome icons!** 🚀

This library seamlessly integrates [Font Awesome](https://fontawesome.com/icons) icons into the SAP UI5 icon system, providing access to thousands of beautiful, scalable icons for your Fiori applications.
Have a look at the [ui5-icon-explorer](https://github.com/mariokernich/ui5-icon-explorer) project or directly visit [ie.kernich.de](https://ie.kernich.de/) for an example integration and interactive showcase of all free Font Awesome icons together with the built-in icons.
Have a look at the [ui5-icon-explorer](https://github.com/ui5-community/ui5-icon-explorer) project or directly visit [ie.kernich.de](https://ie.kernich.de/) for an example integration and interactive showcase of all free Font Awesome icons together with the built-in icons.

[![Build app](https://github.com/mariokernich/ui5-fontawesome-lib/workflows/Build%20app/badge.svg)](https://github.com/mariokernich/ui5-fontawesome-lib/actions?query=workflow%3A%22Build+app%22)
[![ESLint check](https://github.com/mariokernich/ui5-fontawesome-lib/workflows/ESLint%20check/badge.svg)](https://github.com/mariokernich/ui5-fontawesome-lib/actions?query=workflow%3A%22ESLint+check%22)
[![TypeScript check](https://github.com/mariokernich/ui5-fontawesome-lib/workflows/TypeScript%20check/badge.svg)](https://github.com/mariokernich/ui5-fontawesome-lib/actions?query=workflow%3A%22TypeScript+check%22)
[![UI5 Lint](https://github.com/mariokernich/ui5-fontawesome-lib/workflows/UI5%20Lint%20check/badge.svg)](https://github.com/mariokernich/ui5-fontawesome-lib/actions?query=workflow%3A%22UI5+Lint%22)
[![Build app](https://github.com/ui5-community/ui5-fontawesome-lib/workflows/Build%20app/badge.svg)](https://github.com/ui5-community/ui5-fontawesome-lib/actions?query=workflow%3A%22Build+app%22)
[![ESLint check](https://github.com/ui5-community/ui5-fontawesome-lib/workflows/ESLint%20check/badge.svg)](https://github.com/ui5-community/ui5-fontawesome-lib/actions?query=workflow%3A%22ESLint+check%22)
[![TypeScript check](https://github.com/ui5-community/ui5-fontawesome-lib/workflows/TypeScript%20check/badge.svg)](https://github.com/ui5-community/ui5-fontawesome-lib/actions?query=workflow%3A%22TypeScript+check%22)
[![UI5 Lint](https://github.com/ui5-community/ui5-fontawesome-lib/workflows/UI5%20Lint%20check/badge.svg)](https://github.com/ui5-community/ui5-fontawesome-lib/actions?query=workflow%3A%22UI5+Lint%22)
[![Font Awesome](https://img.shields.io/badge/FontAwesome-7.0.0-blue.svg)](https://fontawesome.com/)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
[![UI5](https://img.shields.io/badge/UI5-1.120.33+-green.svg)](https://sapui5.hana.ondemand.com/)
Expand Down Expand Up @@ -160,7 +160,7 @@ Want to use Font Awesome Pro icons? Here's how to extend this library:

```bash
# Clone the repository
git clone https://github.com/mariokernich/ui5-fontawesome-lib.git
git clone https://github.com/ui5-community/ui5-fontawesome-lib.git
cd ui5-fontawesome-lib

# Install dependencies
Expand Down Expand Up @@ -226,7 +226,7 @@ This project is licensed under the Apache Software License, version 2.0 - see th
## 🔗 Links

- 📦 [NPM Package](https://www.npmjs.com/package/ui5-fontawesome-lib)
- 🐙 [GitHub Repository](https://github.com/mariokernich/ui5-fontawesome-lib)
- 🐙 [GitHub Repository](https://github.com/ui5-community/ui5-fontawesome-lib)
- 📚 [Font Awesome Documentation](https://fontawesome.com/docs)
- 🎯 [SAP UI5 Documentation](https://sapui5.hana.ondemand.com/)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/mariokernich/ui5-fontawesome-lib.git"
"url": "https://github.com/ui5-community/ui5-fontawesome-lib.git"
},
"keywords": [
"ui5",
Expand Down
2 changes: 1 addition & 1 deletion test/IconListPreview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const page = new Page({
type: "Ghost",
icon: "sap-icon://fa-brands/github",
press: () => {
window.open("https://github.com/mariokernich/ui5-fontawesome-lib", "_blank");
window.open("https://github.com/ui5-community/ui5-fontawesome-lib", "_blank");
}
}),

Expand Down