diff --git a/gitlab-ci/src/gitlab-ci.ts b/gitlab-ci/src/gitlab-ci.ts index a9e6dd1334c4677a5e826fbdcab54d4a839d3b59..660fdbb7db5abb3426b56112d8bd297db2fb77e5 100644 --- a/gitlab-ci/src/gitlab-ci.ts +++ b/gitlab-ci/src/gitlab-ci.ts @@ -208,9 +208,8 @@ async function main() { // `npm install @leximpact/socio-fiscal-openfisca-json@latest` has updated `package-lock.json`. // => Generate a new version of leximpact-socio-fiscal-api. const pkg = await fs.readJson(packagePath) - const nextVersionObject = await nextVersionObjectFromPackageAndTags( - pkg, - ) + const nextVersionObject = + await nextVersionObjectFromPackageAndTags(pkg) await commitAndPushWithUpdatedVersions(nextVersionObject) await triggerDevDeployPipeline() await triggerProdDeployPipeline() @@ -241,9 +240,8 @@ async function main() { await $`npm install @leximpact/socio-fiscal-openfisca-json@latest` const pkg = await fs.readJson(packagePath) - const nextVersionObject = await nextVersionObjectFromPackageAndTags( - pkg, - ) + const nextVersionObject = + await nextVersionObjectFromPackageAndTags(pkg) // Test project with the current dependencies (and latest @leximpact/socio-fiscal-openfisca-json). await $`ln -s example.env .env`