Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
[ADF-5510] Upgrade to Node 18 (#1579)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
DenysVuika committed May 4, 2023
1 parent dc864c0 commit a1c51df
Show file tree
Hide file tree
Showing 50 changed files with 19,203 additions and 21,375 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/js-api-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
schedule:
- cron: '0 3 * * *' # At 03:00 AM nightly every day

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

env:
GITHUB_REPO_SLUG: ${{ github.repository }}
GITHUB_BRANCH: ${{ github.ref }}
Expand All @@ -30,7 +34,7 @@ jobs:
- name: node
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
Expand All @@ -57,7 +61,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
Expand All @@ -82,7 +86,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
Expand All @@ -105,7 +109,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
Expand Down Expand Up @@ -136,7 +140,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
Expand All @@ -152,7 +156,8 @@ jobs:
name: Release library Npm registry
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'
registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}'
scope: '@alfresco'
- run: ./scripts/publish.sh
Expand All @@ -163,7 +168,8 @@ jobs:
name: Release library GH registry
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'
registry-url: 'https://npm.pkg.github.com'
scope: '@alfresco'
- run: ./scripts/publish.sh
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18

0 comments on commit a1c51df

Please sign in to comment.