mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Teach autofix CI to update an outdated PNPM lockfile (#8206)
Forgetting to push an updated pnpm lock file is a common issue when working with any of the npm package based projects. This teaches autofix to update it and allow the rest of the CI run to proceed.
This commit is contained in:
parent
31439de382
commit
07782db482
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,10 @@ run = "cargo fmt --all"
|
|||
description = "Run taplo format"
|
||||
run = "taplo format"
|
||||
|
||||
["fix:pnpm:lock"]
|
||||
description = "Update pnpm lock file"
|
||||
run = "pnpm i --lockfile-only"
|
||||
|
||||
["fix:ts:format"]
|
||||
description = "Run pnpm format:fix"
|
||||
run = "pnpm run format:fix"
|
||||
|
@ -67,6 +71,7 @@ depends = ["prepare:pnpm-install"]
|
|||
["prepare:pnpm-install"]
|
||||
hide = true
|
||||
run = "pnpm install --frozen-lockfile"
|
||||
depends = ["fix:pnpm:lock"]
|
||||
|
||||
### CI
|
||||
|
||||
|
@ -79,6 +84,7 @@ depends = [
|
|||
"fix:rust:format",
|
||||
"fix:text:trailing_spaces",
|
||||
"fix:toml:format",
|
||||
"fix:pnpm:lock",
|
||||
"fix:ts:biome",
|
||||
"fix:ts:format",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue