From 75eb7c483935d3ebd258ac555acd27ffe74b31d4 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Sun, 5 Dec 2021 18:39:45 -0800 Subject: [PATCH] Switch CI and CD scripts to use `npm ci` instead of `npm install` --- .deployment/cd.sh | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.deployment/cd.sh b/.deployment/cd.sh index fb6ceb4e..be670e39 100644 --- a/.deployment/cd.sh +++ b/.deployment/cd.sh @@ -12,7 +12,7 @@ node --version echo npm version: npm --version cd frontend -npm install +npm ci echo 📦 Install cargo-about cargo install cargo-about diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54732e4c..933a5eea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: node-version: '16.x' - name: 🚧 Install Node dependencies - run: cd frontend && npm install + run: cd frontend && npm ci - name: 🔼 Update Rust to latest stable run: rustc --version && rustup update stable && rustc --version