From 5322ff27d78d2ef5d115a3ae7f360ce09137ceb4 Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Mon, 11 Dec 2023 13:05:30 -0300 Subject: [PATCH] xlabs/portal-bridge-ui-issues#1 - set npm ci instead of npm install to avoid package-lock.json modifications --- .github/workflows/preview.yml | 2 +- .github/workflows/testnet.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 29b9ef32d..c16875109 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -88,7 +88,7 @@ jobs: git config user.name "xLabs CI" git config user.email "devops@xlabs.xyz" - name: Install dependencies - run: npm install + run: npm ci - name: Set Version run: | npm version $(node -p -e "require('./package.json').version")-P$(echo ${{ github.sha }} | cut -c -10) diff --git a/.github/workflows/testnet.yml b/.github/workflows/testnet.yml index 024a752e4..eb5e9e040 100644 --- a/.github/workflows/testnet.yml +++ b/.github/workflows/testnet.yml @@ -58,7 +58,7 @@ jobs: git config user.name "xLabs CI" git config user.email "devops@xlabs.xyz" - name: Install dependencies - run: npm install + run: npm ci - name: Set Version run: | npm version $(node -p -e "require('./package.json').version")-T$(echo ${{ github.sha }} | cut -c -10)