-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(nodejs): bump minimal nodejs and npm versions
- Add script `tools/bump-package-engines.ts` to update minimal node and npm versions in all cacti packages. - Set minimal node to 18 and npm to 8 in all cacti packages. - Add env variable `NODEJS_VERSION` in CI scripts to centralize nodejs setup. - Change default nodejs in CI to v18.18.2 - Minor formatting fixes - sorted package.json, remove whitespaces Signed-off-by: Michal Bajer <[email protected]>
- Loading branch information
Showing
84 changed files
with
788 additions
and
591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: DAST_Scan_Nuclei | ||
|
||
env: | ||
NODEJS_VERSION: v18.18.2 | ||
|
||
on: | ||
push: | ||
branches: [main, dev] | ||
|
@@ -23,10 +26,10 @@ jobs: | |
indy-cli \ | ||
&& sudo rm -f /etc/apt/sources.list.d/sovrin.list* | ||
- name: Set up NodeJS v16.9.1 | ||
- name: Set up NodeJS ${{ env.NODEJS_VERSION }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: v16.9.1 | ||
node-version: ${{ env.NODEJS_VERSION }} | ||
|
||
- name: Install jq | ||
run: sudo apt update && sudo apt install -y jq | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: all-nodejs-packages-publish | ||
|
||
env: | ||
NODEJS_VERSION: v18.18.2 | ||
|
||
on: | ||
push: | ||
|
||
|
@@ -21,7 +24,7 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
always-auth: true | ||
node-version: '16.14.2' | ||
node-version: ${{ env.NODEJS_VERSION }} | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: ./tools/ci.sh | ||
run: ./tools/ci.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: connector-fabric-publish | ||
|
||
env: | ||
NODEJS_VERSION: v20.3.0 | ||
|
||
on: | ||
push: | ||
# Publish `v1.2.3` tags as releases. | ||
|
@@ -27,10 +30,10 @@ jobs: | |
contents: read | ||
|
||
steps: | ||
- name: Use Node.js v20.3.0 | ||
- name: Use Node.js ${{ env.NODEJS_VERSION }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: v20.3.0 | ||
node-version: ${{ env.NODEJS_VERSION }} | ||
|
||
- uses: actions/[email protected] | ||
|
||
|
Oops, something went wrong.