Skip to content

Commit

Permalink
feat(fn): add experimental library to fundamental-ngx (SAP#6924)
Browse files Browse the repository at this point in the history
* feat(core): introduce experimental library

* feat(core): add docs changes for Select component

* fix(fn): add gh action for fn package, improve fn package, minor docs update

* chore(fn): remove unused import

* chore(fn): add linting for fn package

Co-authored-by: Denis Severin <[email protected]>
Co-authored-by: droshev <[email protected]>
  • Loading branch information
3 people authored Oct 16, 2021
1 parent 7b61eb1 commit e8537fe
Show file tree
Hide file tree
Showing 341 changed files with 10,819 additions and 1,251 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/on-push-or-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,22 @@ jobs:
key: dist-platform-${{ github.run_id }}
- run: npx nx build moment-adapter --configuration=production --with-deps --runner cloud

# build fn
build-fn:
needs: build-core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ${{ env.CACHE_NODE_MODULES_PATH }}
key: node_modules-${{ hashFiles('**/package-lock.json') }}
- uses: actions/cache@v2
with:
path: dist/libs/core
key: dist-core-${{ github.run_id }}
- run: npx nx build fn --configuration=production --with-deps --runner cloud

# build docs
build-docs:
# needs: [build-core, build-platform]
Expand Down Expand Up @@ -176,7 +192,7 @@ jobs:
strategy:
fail-fast: false
matrix:
lib: [core, platform, docs, moment-adapter]
lib: [core, platform, docs, moment-adapter, fn]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
Expand Down Expand Up @@ -318,3 +334,7 @@ jobs:
with:
package: 'dist/libs/moment-adapter/package.json'
token: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v1
with:
package: 'dist/libs/fn/package.json'
token: ${{ secrets.NPM_TOKEN }}
36 changes: 36 additions & 0 deletions .github/workflows/on-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,42 @@ jobs:
key: dist-platform-${{ github.run_id }}
- run: npx nx build platform --prod --with-deps --runner cloud

# build moment-adapter
build-moment-adapter:
needs: build-core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ${{ env.CACHE_NODE_MODULES_PATH }}
key: node_modules-${{ hashFiles('**/package-lock.json') }}
- uses: actions/cache@v2
with:
path: dist/libs/core
key: dist-core-${{ github.run_id }}
- uses: actions/cache@v2
with:
path: dist/libs/platform
key: dist-platform-${{ github.run_id }}
- run: npx nx build moment-adapter --configuration=production --with-deps --runner cloud

# build fn
build-fn:
needs: build-core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ${{ env.CACHE_NODE_MODULES_PATH }}
key: node_modules-${{ hashFiles('**/package-lock.json') }}
- uses: actions/cache@v2
with:
path: dist/libs/core
key: dist-core-${{ github.run_id }}
- run: npx nx build fn --configuration=production --with-deps --runner cloud

# build docs
build-docs:
needs: [build-core, build-platform]
Expand Down
Loading

0 comments on commit e8537fe

Please sign in to comment.