From ef5d2e0225a5e04779d6c9bdceef6d7d2c5f8df0 Mon Sep 17 00:00:00 2001 From: Joey Bolduc-Gilbert Date: Fri, 22 Sep 2023 11:42:21 -0400 Subject: [PATCH] Use npm ci for reproducible builds --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed86660ea..dd28e03eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,10 +47,10 @@ jobs: - name: Install NodeJS Dependencies run: | npm config set spin false - npm i --no-audit --no-color - npm i --prefix webapp --no-audit --no-color - npm i --prefix cli --no-audit --no-color - npm i --prefix jipt --no-audit --no-color + npm ci --no-audit --no-color + npm ci --prefix webapp --no-audit --no-color + npm ci --prefix cli --no-audit --no-color + npm ci --prefix jipt --no-audit --no-color - name: Build webapp production run: npm run build-production-inline --prefix webapp