File tree Expand file tree Collapse file tree 12 files changed +36
-30
lines changed
react/igr-ts/projects/_base/files/__dot__github/workflows
webcomponents/igc-ts/projects/_base/files/__dot__github/workflows
_base_with_home/files/__dot__github/workflows
_base/files/__dot__github/workflows
_base_with_home/files/__dot__github/workflows
_base/files/__dot__github/workflows Expand file tree Collapse file tree 12 files changed +36
-30
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-deploy :
11-
11+ # Deactivate the workflow. Will be changed when AB is ready
12+ if : false
1213 runs-on : ubuntu-latest
1314
1415 permissions :
1718
1819 strategy :
1920 matrix :
20- node-version : [18.x, 20 .x]
21+ node-version : [22 .x]
2122
2223 steps :
2324 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1616
1717 strategy :
1818 matrix :
19- node-version : [18.x, 20 .x]
19+ node-version : [22 .x]
2020 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121
2222 steps :
Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-deploy :
11-
11+ # Deactivate the workflow. Will be changed when AB is ready
12+ if : false
1213 runs-on : ubuntu-latest
1314
1415 permissions :
1718
1819 strategy :
1920 matrix :
20- node-version : [18.x, 20 .x]
21+ node-version : [22 .x]
2122
2223 steps :
2324 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1616
1717 strategy :
1818 matrix :
19- node-version : [18.x, 20 .x]
19+ node-version : [22 .x]
2020 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121
2222 steps :
Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-deploy :
11-
11+ # Deactivate the workflow. Will be changed when AB is ready
12+ if : false
1213 runs-on : ubuntu-latest
1314
1415 permissions :
1718
1819 strategy :
1920 matrix :
20- node-version : [18.x, 20 .x]
21+ node-version : [22 .x]
2122
2223 steps :
2324 - uses : actions/checkout@v3
@@ -31,10 +32,10 @@ jobs:
3132 run : echo "PROJECT_NAME=$(jq -r '.name' package.json)" >> $GITHUB_ENV
3233 - name : Determine if project is standalone and set build path
3334 run : |
34- if jq -e ".projects[\"${{ env.PROJECT_NAME }}\"].schematics[\"@schematics/angular:application\"].standalone == false" angular.json > /dev/null; then
35- echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}" >> $GITHUB_ENV
36- else
35+ if jq -e ".projects[\"${{ env.PROJECT_NAME }}\"].architect.build.builder == \"@angular-devkit/build-angular:application\"" angular.json > /dev/null; then
3736 echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}/browser" >> $GITHUB_ENV
37+ else
38+ echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}" >> $GITHUB_ENV
3839 fi
3940 - name : Build project with dynamic base-href
4041 run : npm run build -- --base-href "/${{ github.event.repository.name }}/"
Original file line number Diff line number Diff line change 1919
2020 strategy :
2121 matrix :
22- node-version : [18.x, 20 .x]
22+ node-version : [22 .x]
2323 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424
2525 steps :
Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-deploy :
11-
11+ # Deactivate the workflow. Will be changed when AB is ready
12+ if : false
1213 runs-on : ubuntu-latest
1314
1415 permissions :
1718
1819 strategy :
1920 matrix :
20- node-version : [18.x, 20 .x]
21+ node-version : [22 .x]
2122
2223 steps :
2324 - uses : actions/checkout@v3
@@ -31,10 +32,10 @@ jobs:
3132 run : echo "PROJECT_NAME=$(jq -r '.name' package.json)" >> $GITHUB_ENV
3233 - name : Determine if project is standalone and set build path
3334 run : |
34- if jq -e ".projects[\"${{ env.PROJECT_NAME }}\"].schematics[\"@schematics/angular:application\"].standalone == false" angular.json > /dev/null; then
35- echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}" >> $GITHUB_ENV
36- else
35+ if jq -e ".projects[\"${{ env.PROJECT_NAME }}\"].architect.build.builder == \"@angular-devkit/build-angular:application\"" angular.json > /dev/null; then
3736 echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}/browser" >> $GITHUB_ENV
37+ else
38+ echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}" >> $GITHUB_ENV
3839 fi
3940 - name : Build project with dynamic base-href
4041 run : npm run build -- --base-href "/${{ github.event.repository.name }}/"
Original file line number Diff line number Diff line change 1919
2020 strategy :
2121 matrix :
22- node-version : [18.x, 20 .x]
22+ node-version : [22 .x]
2323 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424
2525 steps :
Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-deploy :
11-
11+ # Deactivate the workflow. Will be changed when AB is ready
12+ if : false
1213 runs-on : ubuntu-latest
1314
1415 permissions :
1718
1819 strategy :
1920 matrix :
20- node-version : [18.x, 20 .x]
21+ node-version : [22 .x]
2122
2223 steps :
2324 - uses : actions/checkout@v3
@@ -31,10 +32,10 @@ jobs:
3132 run : echo "PROJECT_NAME=$(jq -r '.name' package.json)" >> $GITHUB_ENV
3233 - name : Determine if project is standalone and set build path
3334 run : |
34- if jq -e ".projects[\"${{ env.PROJECT_NAME }}\"].schematics[\"@schematics/angular:application\"].standalone == false" angular.json > /dev/null; then
35- echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}" >> $GITHUB_ENV
36- else
35+ if jq -e ".projects[\"${{ env.PROJECT_NAME }}\"].architect.build.builder == \"@angular-devkit/build-angular:application\"" angular.json > /dev/null; then
3736 echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}/browser" >> $GITHUB_ENV
37+ else
38+ echo "BUILD_PATH=./dist/${{ env.PROJECT_NAME }}" >> $GITHUB_ENV
3839 fi
3940 - name : Build project with dynamic base-href
4041 run : npm run build -- --base-href "/${{ github.event.repository.name }}/"
Original file line number Diff line number Diff line change 1919
2020 strategy :
2121 matrix :
22- node-version : [18.x, 20 .x]
22+ node-version : [22 .x]
2323 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424
2525 steps :
You can’t perform that action at this time.
0 commit comments