From d6ab302815e74508c6b9845c6ebc7f3dfe76b16f Mon Sep 17 00:00:00 2001 From: pathmapper Date: Thu, 7 Apr 2022 03:28:47 +0200 Subject: [PATCH] Use npm ci for workflow https://docs.npmjs.com/cli/v8/commands/npm-ci --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81dc768..907c1b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - run: npm install + - run: npm ci - run: npm run build @@ -91,7 +91,7 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - run: npm install + - run: npm ci - run: npm run build - run: npm run build-storybook - name: artifacts/editor @@ -180,7 +180,7 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - run: npm install + - run: npm ci - run: BROWSER=${{ matrix.browser }} TEST_NETWORK=testhost DOCKER_HOST=selenium npm run test - if: ${{ matrix.browser == 'chrome' }} run: ./node_modules/.bin/istanbul report --include build/coverage/coverage.json --dir build/coverage html lcov