From e05d4f5a4b6f785907e32b4f8ac34894ff408731 Mon Sep 17 00:00:00 2001 From: Iskren Slavov Date: Sat, 9 Sep 2023 11:38:22 +0300 Subject: [PATCH] Switch to npm ci for faster builds --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d6528b..0362c5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: check-latest: true - name: Build and test run: | - npm install + npm ci npm run prepare - name: Check coverage uses: coverallsapp/github-action@master @@ -31,7 +31,7 @@ jobs: - name: Build pages run: | cd ./demo-web/ - npm install + npm ci npm run build cd .. mkdir -p ./pages/demo-web/