Skip to content

Commit ef182bd

Browse files
Fix recommended security vulnerabilities and upgrade lerna to v8.2.2 (#24)
* ran npm audit fix * update lerna to 8.2.2 * update checkout action to v4 * use actions/setup-node@v4 * add capability to independently release sub packages --------- Co-authored-by: Raj Patel <rajp@ripple.com>
1 parent c1474d9 commit ef182bd

File tree

4 files changed

+2397
-3695
lines changed

4 files changed

+2397
-3695
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Unit test
22

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
workflow_dispatch:
48

59
jobs:
610
lint-and-test:
@@ -9,10 +13,15 @@ jobs:
913

1014
steps:
1115
- name: Checkout code
12-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1317

14-
- name: Install npm 8
15-
run: npm install -g npm@8
18+
- name: Use Node.js 18.x
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '18.x'
22+
23+
- name: Install npm 10
24+
run: npm i -g npm@10 --registry=https://registry.npmjs.org
1625

1726
- name: Install dependencies
1827
run: npm ci

lerna.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"packages": [
33
"packages/*"
44
],
5-
"useWorkspaces": true,
6-
"version": "1.10.1",
5+
"version": "independent",
76
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
87
}

0 commit comments

Comments
 (0)