Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit a1c51df

Browse files
authored
[ADF-5510] Upgrade to Node 18 (#1579)
* new lock file * replace ng8 with ng15 project * switch gha to node 18 * upgrade webpack project to node 18 * fix audit issues for webpack test * upgrade to webpack 5 * switch bundle size inspector * fix scripts * auto-cancel builds
1 parent dc864c0 commit a1c51df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+19203
-21375
lines changed

.github/workflows/js-api-build.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
schedule:
1212
- cron: '0 3 * * *' # At 03:00 AM nightly every day
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
env:
1519
GITHUB_REPO_SLUG: ${{ github.repository }}
1620
GITHUB_BRANCH: ${{ github.ref }}
@@ -30,7 +34,7 @@ jobs:
3034
- name: node
3135
uses: actions/setup-node@v3
3236
with:
33-
node-version: 16
37+
node-version-file: '.nvmrc'
3438
cache: 'npm'
3539

3640
- name: Install Dependencies
@@ -57,7 +61,7 @@ jobs:
5761
- name: Setup Node
5862
uses: actions/setup-node@v3
5963
with:
60-
node-version: 16
64+
node-version-file: '.nvmrc'
6165
cache: 'npm'
6266

6367
- name: Install Dependencies
@@ -82,7 +86,7 @@ jobs:
8286
- name: Setup Node
8387
uses: actions/setup-node@v3
8488
with:
85-
node-version: 16
89+
node-version-file: '.nvmrc'
8690
cache: 'npm'
8791

8892
- name: Install Dependencies
@@ -105,7 +109,7 @@ jobs:
105109
- name: Setup Node
106110
uses: actions/setup-node@v3
107111
with:
108-
node-version: 16
112+
node-version-file: '.nvmrc'
109113
cache: 'npm'
110114

111115
- name: Install Dependencies
@@ -136,7 +140,7 @@ jobs:
136140
- name: Setup Node
137141
uses: actions/setup-node@v3
138142
with:
139-
node-version: 16
143+
node-version-file: '.nvmrc'
140144
cache: 'npm'
141145

142146
- name: Install Dependencies
@@ -152,7 +156,8 @@ jobs:
152156
name: Release library Npm registry
153157
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
154158
with:
155-
node-version: 16
159+
node-version-file: '.nvmrc'
160+
cache: 'npm'
156161
registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}'
157162
scope: '@alfresco'
158163
- run: ./scripts/publish.sh
@@ -163,7 +168,8 @@ jobs:
163168
name: Release library GH registry
164169
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
165170
with:
166-
node-version: 16
171+
node-version-file: '.nvmrc'
172+
cache: 'npm'
167173
registry-url: 'https://npm.pkg.github.com'
168174
scope: '@alfresco'
169175
- run: ./scripts/publish.sh

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

0 commit comments

Comments
 (0)