mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-08 03:42:49 +00:00
162f3d7782
* use different cache * cache prisma client in rustfmt * cleanup prettier config * build server image in sub-action * server image + prisma client custom actions * remove lefthoook checks that are in ci * fix build-server-image * rename Clippy job * rename build core job * use custom rust caching action * fix rust cache shared key * cleanup custom action job names * remove platform check in clippy ci * setup pnpm in clippy ci * update mobile package name * make ios compiling conditional * use pnpm cache * run clippy in release * force use release for all jobs
14 lines
691 B
YAML
14 lines
691 B
YAML
########################################################################################################################
|
|
# Refer for explanation to following link: #
|
|
# https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md #
|
|
########################################################################################################################
|
|
|
|
pre-push:
|
|
parallel: true
|
|
commands:
|
|
lint:
|
|
glob: '*.{ts,tsx}'
|
|
run: pnpm eslint {staged_files}
|
|
markdown-link-check:
|
|
glob: '*.md'
|
|
run: pnpm markdown-link-check {staged_files} |