[v11.0.x] CI: Run prettier in bump-version workflow (#92529)

CI: Run prettier in bump-version workflow (#92195)

Run prettier

(cherry picked from commit 931d64b8fc)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-08-27 22:39:59 +03:00
committed by GitHub
co-authored by Andreas Christou
parent fae2a7597f
commit 7b35fccf07
+1
View File
@@ -72,6 +72,7 @@ func WithUpdatedVersion(d *dagger.Client, src *dagger.Directory, nodeVersion, ve
WithExec([]string{"npm", "version", version, "--no-git-tag-version"}).
WithExec([]string{"yarn", "run", "lerna", "version", version, "--no-push", "--no-git-tag-version", "--force-publish", "--exact", "--yes"}).
WithExec([]string{"yarn", "install"}).
WithExec([]string{"yarn", "prettier:write"}).
Directory("/src").
WithoutDirectory("node_modules")
}