Skip to content

Commit 84eb3b4

Browse files
committed
add check to confirm package-lock.json is update to date.
Signed-off-by: swaroopar <[email protected]>
1 parent efeddb1 commit 84eb3b4

File tree

3 files changed

+221
-223
lines changed

3 files changed

+221
-223
lines changed

.github/workflows/ui-release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
git config user.name ${{ env.BOT_USER_NAME }}
4141
git config user.email ${{ env.BOT_EMAIL_ID }}
4242
43+
- name: Check if package-lock.json is up to date
44+
run: npx --yes [email protected]
45+
4346
- name: Run install dependencies
4447
run: npm install
4548

.github/workflows/xpanse.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
20+
- name: Check if package-lock.json is up to date
21+
run: npx --yes [email protected]
2022
- name: Install all required NPM packages
2123
working-directory: ./
2224
run: npm install

0 commit comments

Comments
 (0)