Skip to content

Commit

Permalink
[ADF-5511] migrate to node 18 (#373)
Browse files Browse the repository at this point in the history
* gha: switch to node 18

* regenerate lock file

* update package files

* fix dependencies

* update subscriptions-transport-ws

* auto-cancel gha
  • Loading branch information
DenysVuika authored May 12, 2023
1 parent 58c62a6 commit d4830ea
Show file tree
Hide file tree
Showing 11 changed files with 7,616 additions and 5,543 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: [ master, develop ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: generator
Expand All @@ -16,7 +20,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm install
- run: npm test
Expand All @@ -30,7 +34,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: cd app/templates/adf-cli-acs-template && npm install && npm test -- --browsers=ChromeHeadless --watch=false

Expand All @@ -43,7 +47,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: cd app/templates/adf-cli-aps-template && npm install && npm test -- --browsers=ChromeHeadless --watch=false

Expand All @@ -56,7 +60,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: cd app/templates/adf-cli-acs-aps-template && npm install && npm test -- --browsers=ChromeHeadless --watch=false

Expand All @@ -69,7 +73,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: cd app/templates/adf-cli-activiti-community-template && npm install && npm test -- --browsers=ChromeHeadless --watch=false

Expand All @@ -82,7 +86,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: cd app/templates/adf-cli-activiti-community-acs-template && npm install && npm test -- --browsers=ChromeHeadless --watch=false

Expand All @@ -95,7 +99,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: cd app/templates/adf-cli-apa-template && npm install && npm test -- --browsers=ChromeHeadless --watch=false

Expand All @@ -108,6 +112,6 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: cd app/templates/adf-cli-apa-acs-template && npm install && npm test -- --browsers=ChromeHeadless --watch=false
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
- run: ./scripts/git-tag.sh && ./scripts/publish.sh
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
16 changes: 8 additions & 8 deletions app/templates/adf-cli-acs-aps-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "6.0.0",
"@alfresco/adf-core": "6.0.0",
"@alfresco/adf-extensions": "6.0.0",
"@alfresco/adf-process-services": "6.0.0",
"@alfresco/adf-content-services": "6.1.0-4893268711",
"@alfresco/adf-core": "6.1.0-4893268711",
"@alfresco/adf-extensions": "6.1.0-4893268711",
"@alfresco/adf-process-services": "6.1.0-4893268711",
"@alfresco/js-api": "6.0.0",
"@angular/animations": "^14.2.9",
"@angular/cdk": "^14.2.6",
Expand All @@ -34,17 +34,17 @@
"@mat-datetimepicker/core": "^10.0.10",
"@mat-datetimepicker/moment": "^10.0.10",
"@ngx-translate/core": "^14.0.0",
"apollo-angular": "^2.6.0",
"apollo-angular": "^4.2.1",
"chart.js": "2.9.4",
"cropperjs": "1.5.12",
"minimatch": "^3.0.4",
"minimatch-browser": "1.0.0",
"moment-es6": "^1.0.0",
"ng2-charts": "2.4.2",
"pdfjs-dist": "2.5.207",
"pdfjs-dist": "3.3.122",
"raphael": "2.3.0",
"rxjs": "^6.6.3",
"subscriptions-transport-ws": "^0.9.19",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
Expand All @@ -59,7 +59,7 @@
"@types/node": "^14.14.26",
"graphql": "^15.6.1",
"graphql-request": "^3.6.1",
"jasmine-core": "~3.6.0",
"jasmine-core": "~4.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.6",
"karma-chrome-launcher": "~3.1.0",
Expand Down
10 changes: 5 additions & 5 deletions app/templates/adf-cli-acs-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "6.0.0",
"@alfresco/adf-core": "6.0.0",
"@alfresco/adf-extensions": "6.0.0",
"@alfresco/adf-content-services": "6.1.0-4893268711",
"@alfresco/adf-core": "6.1.0-4893268711",
"@alfresco/adf-extensions": "6.1.0-4893268711",
"@alfresco/js-api": "6.0.0",
"@angular/animations": "^14.2.9",
"@angular/cdk": "^14.2.6",
Expand All @@ -37,7 +37,7 @@
"minimatch": "^3.0.4",
"minimatch-browser": "1.0.0",
"moment-es6": "^1.0.0",
"pdfjs-dist": "2.5.207",
"pdfjs-dist": "3.3.122",
"rxjs": "^6.6.3",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
Expand All @@ -51,7 +51,7 @@
"@types/jasminewd2": "~2.0.2",
"@types/minimatch": "^3.0.3",
"@types/node": "^14.14.26",
"jasmine-core": "~3.6.0",
"jasmine-core": "~4.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.6",
"karma-chrome-launcher": "~3.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "6.0.0",
"@alfresco/adf-core": "6.0.0",
"@alfresco/adf-extensions": "6.0.0",
"@alfresco/adf-process-services-cloud": "6.0.0",
"@alfresco/adf-content-services": "6.1.0-4893268711",
"@alfresco/adf-core": "6.1.0-4893268711",
"@alfresco/adf-extensions": "6.1.0-4893268711",
"@alfresco/adf-process-services-cloud": "6.1.0-4893268711",
"@alfresco/js-api": "6.0.0",
"@angular/animations": "^14.2.9",
"@angular/cdk": "^14.2.6",
Expand Down Expand Up @@ -51,10 +51,10 @@
"minimatch-browser": "1.0.0",
"moment-es6": "^1.0.0",
"ng2-charts": "2.4.2",
"pdfjs-dist": "2.5.207",
"pdfjs-dist": "3.3.122",
"raphael": "2.3.0",
"rxjs": "^6.6.3",
"subscriptions-transport-ws": "^0.9.19",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
Expand All @@ -69,7 +69,7 @@
"@types/node": "^14.14.26",
"graphql": "^16.6.0",
"graphql-request": "^3.6.1",
"jasmine-core": "~3.6.0",
"jasmine-core": "~4.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.6",
"karma-chrome-launcher": "~3.1.0",
Expand Down
14 changes: 7 additions & 7 deletions app/templates/adf-cli-activiti-community-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "6.0.0",
"@alfresco/adf-core": "6.0.0",
"@alfresco/adf-extensions": "6.0.0",
"@alfresco/adf-process-services-cloud": "6.0.0",
"@alfresco/adf-content-services": "6.1.0-4893268711",
"@alfresco/adf-core": "6.1.0-4893268711",
"@alfresco/adf-extensions": "6.1.0-4893268711",
"@alfresco/adf-process-services-cloud": "6.1.0-4893268711",
"@alfresco/js-api": "6.0.0",
"@angular/animations": "^14.2.9",
"@angular/cdk": "^14.2.6",
Expand Down Expand Up @@ -51,10 +51,10 @@
"minimatch-browser": "1.0.0",
"moment-es6": "^1.0.0",
"ng2-charts": "2.4.2",
"pdfjs-dist": "2.5.207",
"pdfjs-dist": "3.3.122",
"raphael": "2.3.0",
"rxjs": "^6.6.3",
"subscriptions-transport-ws": "^0.9.19",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
Expand All @@ -69,7 +69,7 @@
"@types/node": "^14.14.26",
"graphql": "^16.6.0",
"graphql-request": "^3.6.1",
"jasmine-core": "~3.6.0",
"jasmine-core": "~4.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.6",
"karma-chrome-launcher": "~3.1.0",
Expand Down
14 changes: 7 additions & 7 deletions app/templates/adf-cli-apa-acs-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "6.0.0",
"@alfresco/adf-core": "6.0.0",
"@alfresco/adf-extensions": "6.0.0",
"@alfresco/adf-process-services-cloud": "6.0.0",
"@alfresco/adf-content-services": "6.1.0-4893268711",
"@alfresco/adf-core": "6.1.0-4893268711",
"@alfresco/adf-extensions": "6.1.0-4893268711",
"@alfresco/adf-process-services-cloud": "6.1.0-4893268711",
"@alfresco/js-api": "6.0.0",
"@angular/animations": "^14.2.9",
"@angular/cdk": "^14.2.6",
Expand Down Expand Up @@ -51,10 +51,10 @@
"minimatch-browser": "1.0.0",
"moment-es6": "^1.0.0",
"ng2-charts": "2.4.2",
"pdfjs-dist": "2.5.207",
"pdfjs-dist": "3.3.122",
"raphael": "2.3.0",
"rxjs": "^6.6.3",
"subscriptions-transport-ws": "^0.9.19",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
Expand All @@ -69,7 +69,7 @@
"@types/node": "^14.14.26",
"graphql": "^16.6.0",
"graphql-request": "^3.6.1",
"jasmine-core": "~3.6.0",
"jasmine-core": "~4.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.6",
"karma-chrome-launcher": "~3.1.0",
Expand Down
14 changes: 7 additions & 7 deletions app/templates/adf-cli-apa-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "6.0.0",
"@alfresco/adf-core": "6.0.0",
"@alfresco/adf-extensions": "6.0.0",
"@alfresco/adf-process-services-cloud": "6.0.0",
"@alfresco/adf-content-services": "6.1.0-4893268711",
"@alfresco/adf-core": "6.1.0-4893268711",
"@alfresco/adf-extensions": "6.1.0-4893268711",
"@alfresco/adf-process-services-cloud": "6.1.0-4893268711",
"@alfresco/js-api": "6.0.0",
"@angular/animations": "^14.2.9",
"@angular/cdk": "^14.2.6",
Expand Down Expand Up @@ -51,10 +51,10 @@
"minimatch-browser": "1.0.0",
"moment-es6": "^1.0.0",
"ng2-charts": "2.4.2",
"pdfjs-dist": "2.5.207",
"pdfjs-dist": "3.3.122",
"raphael": "2.3.0",
"rxjs": "^6.6.3",
"subscriptions-transport-ws": "^0.9.19",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
Expand All @@ -69,7 +69,7 @@
"@types/node": "^14.14.26",
"graphql": "^16.6.0",
"graphql-request": "^3.6.1",
"jasmine-core": "~3.6.0",
"jasmine-core": "~4.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.6",
"karma-chrome-launcher": "~3.1.0",
Expand Down
14 changes: 7 additions & 7 deletions app/templates/adf-cli-aps-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "6.0.0",
"@alfresco/adf-core": "6.0.0",
"@alfresco/adf-extensions": "6.0.0",
"@alfresco/adf-process-services": "6.0.0",
"@alfresco/adf-content-services": "6.1.0-4893268711",
"@alfresco/adf-core": "6.1.0-4893268711",
"@alfresco/adf-extensions": "6.1.0-4893268711",
"@alfresco/adf-process-services": "6.1.0-4893268711",
"@alfresco/js-api": "6.0.0",
"@angular/animations": "^14.2.9",
"@angular/cdk": "^14.2.6",
Expand All @@ -41,10 +41,10 @@
"minimatch-browser": "1.0.0",
"moment-es6": "^1.0.0",
"ng2-charts": "2.4.2",
"pdfjs-dist": "2.5.207",
"pdfjs-dist": "3.3.122",
"raphael": "2.3.0",
"rxjs": "^6.6.3",
"subscriptions-transport-ws": "^0.9.19",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
Expand All @@ -59,7 +59,7 @@
"@types/node": "^14.14.26",
"graphql": "^16.6.0",
"graphql-request": "^3.6.1",
"jasmine-core": "~3.6.0",
"jasmine-core": "~4.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.6",
"karma-chrome-launcher": "~3.1.0",
Expand Down
Loading

0 comments on commit d4830ea

Please sign in to comment.