Skip to content
Snippets Groups Projects
Commit 302d04a3 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

CI: Always pass "--frozen-lockfile" to yarn install

We don't want yarn to update the lock file on install which
wouldn't be reproducible.
parent 4e9da99e
No related branches found
No related tags found
No related merge requests found
Pipeline #87688 passed
......@@ -16,13 +16,13 @@ stages:
test:
stage: test
script:
- yarn install
- yarn install --frozen-lockfile
- yarn run test
linting:
stage: test
script:
- yarn install
- yarn install --frozen-lockfile
- yarn run lint
publish:
......@@ -36,7 +36,7 @@ publish:
# NPM_TOKEN needs to be a "Publish" token with 2FA disabled!
# "Automation" tokens don't work with lerna (even if they would work with "npm publish")
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc
- yarn install
- yarn install --frozen-lockfile
- yarn run build
- yarn run publish
......
......@@ -39,7 +39,7 @@ host('development')
task('build', function () {
$stage = get('stage');
runLocally("yarn install");
runLocally("yarn install --frozen-lockfile");
runLocally("APP_ENV=$stage yarn run build");
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment