Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of npm ci instead of npm install for automation scripts #1170

Merged
merged 2 commits into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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