Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding ci workflow #537

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1826d8d
adding ci workflow
ChronosSF Apr 16, 2024
e849d6c
fixing the working dir for steps
ChronosSF Apr 16, 2024
2d212b8
trying another way
ChronosSF Apr 16, 2024
8de4a10
or like this
ChronosSF Apr 16, 2024
f431f82
or like this jeez
ChronosSF Apr 16, 2024
d41a112
this will work
ChronosSF Apr 16, 2024
82ee098
last try
ChronosSF Apr 16, 2024
6d0c734
last last try
ChronosSF Apr 16, 2024
8b56557
do the ind properly
ChronosSF Apr 16, 2024
14ab475
changing running agent type
ChronosSF Apr 17, 2024
c80e58a
try like this
ChronosSF Apr 17, 2024
cb8e1d2
add some logging
ChronosSF Apr 17, 2024
7a58a4f
Merge remote-tracking branch 'origin/vnext' into add-ci
ChronosSF Apr 17, 2024
34d6fcf
try with install
ChronosSF Apr 17, 2024
7807e74
get better logging
ChronosSF Apr 17, 2024
6755673
fix for relative path issue
ChronosSF Apr 17, 2024
7e00c9b
fix transformer to create the requested path format
ChronosSF Apr 17, 2024
0eace82
try with more heap
ChronosSF Apr 17, 2024
4ce34de
try like this
ChronosSF Apr 17, 2024
1372e40
or with 24000 max
ChronosSF Apr 17, 2024
7d921a4
try on ubuntu
ChronosSF Apr 17, 2024
2f1fa40
try with not building source maps
ChronosSF Apr 29, 2024
538d10f
Merge remote-tracking branch 'origin/vnext' into add-ci
ChronosSF Apr 29, 2024
5a9ae7d
returning the max_old_space
ChronosSF Apr 29, 2024
3a14536
try like this
ChronosSF Apr 29, 2024
753d15d
try to see user limits
ChronosSF Apr 30, 2024
efeaf85
Merge branch 'vnext' into add-ci
ChronosSF Jun 5, 2024
8b91625
chore(*): returning file to where they should be
ChronosSF Jun 5, 2024
83a3a28
Merge remote-tracking branch 'origin/vnext' into add-ci
ChronosSF Jun 12, 2024
e422d8f
updating webpack
ChronosSF Jun 12, 2024
6119aff
try with node 20.13
ChronosSF Jun 12, 2024
89f1853
try on windows
ChronosSF Jun 12, 2024
7bac0f8
removing ubuntu commands
ChronosSF Jun 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "vnext" ]
pull_request:
branches: [ "vnext" ]

jobs:
build:
runs-on: windows-latest

strategy:
matrix:
node-version: [18.x, 20.13.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

defaults:
run:
working-directory: ./browser # The working directory path

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: browser/package-lock.json

# THIS WILL BE REMOVED WHEN WE SWITCH BACK TO PUBLIC PACKAGES
# - name: Setup Registry
# run: |
# echo "@infragistics:registry=https://packages.infragistics.com/npm/js-licensed/" >> ~/.npmrc
# echo "//packages.infragistics.com/npm/js-licensed/:_auth=${{ secrets.PROGET_TOKEN }}" >> ~/.npmrc
# echo "//packages.infragistics.com/npm/js-licensed/:always-auth=true" >> ~/.npmrc
#- name: check limits
# run: ulimit -a
#- name: set heap size
# run: export NODE_OPTIONS=--max-old-space-size=24000
- name: npm ci
run: npm ci
- name: Build
run: npm run build
26 changes: 13 additions & 13 deletions browser/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 browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"ts-node": "^8.9.0",
"typescript": "^4.8.4",
"web-vitals": "^0.2.4",
"webpack": "^5.89.0",
"webpack": "^5.92.0",
"worker-loader": "^3.0.8"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion browser/public/meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"23.2.915","date":"2024-05-21 16:49:08","note":"this file is auto-generated"}
{"version":"23.2.915","date":"2024-06-12 15:35:29","note":"this file is auto-generated"}
2 changes: 1 addition & 1 deletion browser/src/navigation/SamplesBrowser.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"23.2.915","date":"2024-05-21 16:49:08","note":"this file is auto-generated"}
{"version":"23.2.915","date":"2024-06-12 15:35:29","note":"this file is auto-generated"}
12 changes: 1 addition & 11 deletions browser/tasks/Transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,17 +444,7 @@ class Transformer {
}

public static getRelative(sampleFullPath: string): string {
// let path = filePath;

if (sampleFullPath.indexOf(igConfig.RepositoryName) > -1) {
sampleFullPath = sampleFullPath.split(igConfig.RepositoryName)[1];
sampleFullPath = sampleFullPath.split(pathModule.sep).join("/");
return ".." + sampleFullPath;
// return sampleFullPath;
}

console.log("failed on getRelative " + sampleFullPath);
return sampleFullPath;
return pathModule.relative('', sampleFullPath).replaceAll('\\', '/')
}

public static getFileName(relativePath: string): string {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
<!-- https://github.com/IgniteUI/igniteui-react-examples/tree/vnext/templates/sample/ReadMe.md -->

This folder contains implementation of React application with example of Data Legend Grouping And Highlighting feature using [Data Chart](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html) component.


<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<body>
<a target="_blank" href="https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem" alt="View Docs" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-docs.png"/>
</a>
<a target="_blank" href="./src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="View Code" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-code.png"/>
</a>
<a target="_blank" href="https://www.infragistics.com/react-demos/samples/charts/data-chart/data-legend-grouping-and-highlighting" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-run.png"/>
</a>
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-react-examples/tree/master/samples/charts/data-chart/data-legend-grouping-and-highlighting?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-sandbox.png"/>
</a>
</body>
</html>

## Branches

> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-react-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-react-examples/tree/vnext) branch only when you want to contribute new samples to this repository.

## Instructions

Follow these instructions to run this example:


```
git clone https://github.com/IgniteUI/igniteui-react-examples.git
git checkout master
cd ./igniteui-react-examples
cd ./samples/charts/data-chart/data-legend-grouping-and-highlighting
```

open above folder in VS Code or type:
```
code .
```

In terminal window, run:
```
npm install --legacy-peer-deps
npm run-script start
```

Then open http://localhost:4200/ in your browser


## Learn More

To learn more about **Ignite UI for React** components, check out the [React documentation](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html).
56 changes: 56 additions & 0 deletions samples/charts/data-chart/data-legend-grouping/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
<!-- https://github.com/IgniteUI/igniteui-react-examples/tree/vnext/templates/sample/ReadMe.md -->

This folder contains implementation of React application with example of Data Legend Grouping feature using [Data Chart](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html) component.


<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<body>
<a target="_blank" href="https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem" alt="View Docs" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-docs.png"/>
</a>
<a target="_blank" href="./src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="View Code" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-code.png"/>
</a>
<a target="_blank" href="https://www.infragistics.com/react-demos/samples/charts/data-chart/data-legend-grouping" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-run.png"/>
</a>
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-react-examples/tree/master/samples/charts/data-chart/data-legend-grouping?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-sandbox.png"/>
</a>
</body>
</html>

## Branches

> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-react-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-react-examples/tree/vnext) branch only when you want to contribute new samples to this repository.

## Instructions

Follow these instructions to run this example:


```
git clone https://github.com/IgniteUI/igniteui-react-examples.git
git checkout master
cd ./igniteui-react-examples
cd ./samples/charts/data-chart/data-legend-grouping
```

open above folder in VS Code or type:
```
code .
```

In terminal window, run:
```
npm install --legacy-peer-deps
npm run-script start
```

Then open http://localhost:4200/ in your browser


## Learn More

To learn more about **Ignite UI for React** components, check out the [React documentation](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html).
56 changes: 56 additions & 0 deletions samples/charts/data-chart/data-legend-styling/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
<!-- https://github.com/IgniteUI/igniteui-react-examples/tree/vnext/templates/sample/ReadMe.md -->

This folder contains implementation of React application with example of Data Legend Styling feature using [Data Chart](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html) component.


<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<body>
<a target="_blank" href="https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem" alt="View Docs" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-docs.png"/>
</a>
<a target="_blank" href="./src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="View Code" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-code.png"/>
</a>
<a target="_blank" href="https://www.infragistics.com/react-demos/samples/charts/data-chart/data-legend-styling" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-run.png"/>
</a>
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-react-examples/tree/master/samples/charts/data-chart/data-legend-styling?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-sandbox.png"/>
</a>
</body>
</html>

## Branches

> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-react-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-react-examples/tree/vnext) branch only when you want to contribute new samples to this repository.

## Instructions

Follow these instructions to run this example:


```
git clone https://github.com/IgniteUI/igniteui-react-examples.git
git checkout master
cd ./igniteui-react-examples
cd ./samples/charts/data-chart/data-legend-styling
```

open above folder in VS Code or type:
```
code .
```

In terminal window, run:
```
npm install --legacy-peer-deps
npm run-script start
```

Then open http://localhost:4200/ in your browser


## Learn More

To learn more about **Ignite UI for React** components, check out the [React documentation](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html).
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
<!-- https://github.com/IgniteUI/igniteui-react-examples/tree/vnext/templates/sample/ReadMe.md -->

This folder contains implementation of React application with example of Data Tooltip Grouping And Highlighting feature using [Data Chart](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html) component.


<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<body>
<a target="_blank" href="https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem" alt="View Docs" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-docs.png"/>
</a>
<a target="_blank" href="./src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="View Code" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-code.png"/>
</a>
<a target="_blank" href="https://www.infragistics.com/react-demos/samples/charts/data-chart/data-tooltip-grouping-and-highlighting" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-run.png"/>
</a>
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-react-examples/tree/master/samples/charts/data-chart/data-tooltip-grouping-and-highlighting?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/index.tsx" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-sandbox.png"/>
</a>
</body>
</html>

## Branches

> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-react-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-react-examples/tree/vnext) branch only when you want to contribute new samples to this repository.

## Instructions

Follow these instructions to run this example:


```
git clone https://github.com/IgniteUI/igniteui-react-examples.git
git checkout master
cd ./igniteui-react-examples
cd ./samples/charts/data-chart/data-tooltip-grouping-and-highlighting
```

open above folder in VS Code or type:
```
code .
```

In terminal window, run:
```
npm install --legacy-peer-deps
npm run-script start
```

Then open http://localhost:4200/ in your browser


## Learn More

To learn more about **Ignite UI for React** components, check out the [React documentation](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html).