From c569761c89108ff4da5fcd978623b3a34068359f Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 25 Apr 2023 16:42:45 -0400 Subject: [PATCH] chore(ci): remove --no-package-lock flag (#27276) Issue number: N/A --------- ## What is the current behavior? Original Discussion: https://github.com/ionic-team/stencil-ds-output-targets/pull/327#discussion_r1176950960 This flag was left over from our migration from custom build scripts to Lerna. Since we use `npm ci` the `--no-package-lock` flag is not needed. ## What is the new behavior? - Removes `--no-package-lock` from build scripts. - Here is an example test run of a dev build succeeding without the `--no-package-lock` flag: https://github.com/ionic-team/ionic-framework/actions/runs/4801503002 ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- .github/workflows/dev-build.yml | 2 +- .github/workflows/nightly.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 77d6b18f73..2e69d9e5c4 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -14,7 +14,7 @@ jobs: # as lerna will fail when there is a leading 0 # See https://github.com/lerna/lerna/issues/2840 - name: Install Dependencies - run: npm ci --no-package-lock + run: npm ci shell: bash - id: create-dev-hash name: Create Dev Hash diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index edc2d97fbe..e9f0db784f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -17,7 +17,7 @@ jobs: # as lerna will fail when there is a leading 0 # See https://github.com/lerna/lerna/issues/2840 - name: Install Dependencies - run: npm ci --no-package-lock + run: npm ci shell: bash - id: create-nightly-hash name: Create Nightly Hash