From 6a4cf3204cbe30b7efd34cfb35546789d041a6b6 Mon Sep 17 00:00:00 2001 From: Philip Nagler-Frank Date: Fri, 26 Nov 2021 13:48:13 +0100 Subject: [PATCH] use "npm ci" instead of "npm install" in examples (#934) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c6fc2d83..43132ef4 100644 --- a/README.md +++ b/README.md @@ -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 🚀