chore: run prettier and eslint separately

This commit is contained in:
Johannes Loher 2023-07-10 22:01:53 +02:00
parent 78e073432f
commit bd32dad1c5
No known key found for this signature in database
GPG key ID: 7CB0A9FB553DA045
6 changed files with 23 additions and 81 deletions

View file

@ -29,6 +29,12 @@ steps:
commands:
- <<: *enable_pnpm
- pnpm lint
formatcheck:
group: check
image: *node_image
commands:
- <<: *enable_pnpm
- pnpm format:check
typecheck:
group: check
image: *node_image

View file

@ -34,6 +34,7 @@ steps:
- git config user.name woodpecker[bot]
- git config user.email woodpecker[bot]@${CI_SYSTEM_HOST}
- pnpm bump-version --release=${RELEASE_TYPE}
- pnpm exec prettier package.json system.json
- export RELEASE_VERSION=$(jq -r '.version' < package.json)
- git --no-pager diff
- git add package.json system.json