Skip to content

Commit

Permalink
chore(repo): remove prettier step from release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Jul 16, 2021
1 parent 562809d commit 34ba4ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
publish:
# let's ignore release commits, otherwise it'll try to run twice
if: |
!startsWith(github.event.head_commit.message , 'chore(release):')
!startsWith(github.event.head_commit.message , 'chore(release):') &&
!startsWith(github.event.head_commit.message , 'chore(repo):')
runs-on: ubuntu-latest

Expand Down Expand Up @@ -54,9 +55,6 @@ jobs:
- name: pnpm install
run: pnpm install

- name: Prettier
run: pnpm run prettier:check

- name: Build Packages
run: pnpm build --recursive

Expand All @@ -74,6 +72,7 @@ jobs:

- name: Push Release and Cleanup
run: |
pnpm lint:docs
git checkout .npmrc
git add . && git commit --amend --no-edit
git pull origin master --no-edit
Expand Down

0 comments on commit 34ba4ce

Please sign in to comment.