Skip to content

Commit 078b6b9

Browse files
authored
Merge pull request #433 from alphagov/change-npm-install-method
Change `npm install` to `npm ci`
2 parents 5885826 + 9a85fc8 commit 078b6b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

govuk_tech_docs.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ lib = File.expand_path("lib", __dir__)
44
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
55
require "govuk_tech_docs/version"
66

7-
`npm install`
8-
abort "npm install failed" unless $CHILD_STATUS.success?
7+
`npm ci`
8+
abort "npm ci failed" unless $CHILD_STATUS.success?
99

1010
unless File.exist?("node_modules/govuk-frontend/dist/govuk/all.scss")
1111
abort "govuk-frontend npm package not installed"

0 commit comments

Comments
 (0)