use "npm ci" instead of "npm install" in examples (#934)

This commit is contained in:
Philip Nagler-Frank 2021-11-26 13:48:13 +01:00 committed by GitHub
parent c0b175b055
commit 6a4cf3204c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ jobs:
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm ci
npm run build
- name: Deploy 🚀
@ -203,7 +203,7 @@ jobs:
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm ci
npm run build
- name: Deploy 🚀
@ -252,7 +252,7 @@ jobs:
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm ci
npm run build
- name: Upload Artifacts 🔺 # The project is then uploaded as an artifact named 'site'.
@ -322,7 +322,7 @@ jobs:
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm ci
npm run build
- name: Deploy 🚀