Skip to content

Commit e4676c4

Browse files
committed
feat: Added the --frozen-lockfile flag to the yarn_install command
BREAKING CHANGE: The `yarn_install` command will now fail if there need to be changes made to your `yarn.lock` file. See [the Yarn documentation](https://yarnpkg.com/en/docs/cli/install#toc-yarn-install-frozen-lockfile) for details on this flag. Fixes #28
1 parent 380d164 commit e4676c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/yarn_install.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
- yarn-cache-{{ arch }}-{{ checksum "~/.tmp/checksumfiles/package.json" }}-{{ checksum "~/.tmp/checksumfiles/yarn.lock" }}-{{ .Environment.CACHE_VERSION }}
1313
- run:
1414
name: Yarn Install
15-
command: yarn install --non-interactive --cache-folder ~/.cache/yarn
15+
command: yarn install --frozen-lockfile --non-interactive --cache-folder ~/.cache/yarn
1616
- save_cache:
1717
paths:
1818
- ~/.cache/yarn

0 commit comments

Comments
 (0)