Skip to content

Commit

Permalink
Merge pull request #1170 from nextcloud/fix/npm-ci
Browse files Browse the repository at this point in the history
Usage of npm ci instead of npm install for automation scripts
  • Loading branch information
christianlupus authored Aug 23, 2022
2 parents e62cdd4 + 6623bae commit e90c1ed
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/run-tests/tests/entrypoints/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fi

if [ $BUILD_NPM = 'y' ]; then
echo 'Installing NPM packages'
npm install
npm ci

echo 'Building JS folder'
npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-appstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
BOT_TOKEN: ${{ secrets.COOKBOOK_BOT_TOKEN }}

- name: Install the NPM packages
run: npm install
run: npm ci

- name: Build NPM
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
${{ runner.os }}-node-
- name: Install NPM modules
run: npm install
run: npm ci

- name: Perform the test
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ jobs:
- name: Install the NPM dependencies
shell: bash
run: >-
npm install
npm ci
- name: Install the dependencies for composer
shell: bash
run: >-
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
[#1159](https://github.com/nextcloud/cookbook/pull/1159) @christianlupus
- Prepare the generation of pre-releases
[#1169](https://github.com/nextcloud/cookbook/pull/1169) @christianlupus
- Corrected usage of npm ci
[#1170](https://github.com/nextcloud/cookbook/pull/1170) @christianlupus


## 0.9.13 - 2022-07-02
Expand Down

0 comments on commit e90c1ed

Please sign in to comment.