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 486cc69
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -54,9 +54,6 @@ jobs:
- name: pnpm install
run: pnpm install

- name: Prettier
run: pnpm run prettier:check

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

Expand All @@ -67,13 +64,18 @@ jobs:
run: pnpm test --filter [HEAD^]

- name: Release and Publish Packages
if: |
!startsWith(github.event.head_commit.message , 'chore(repo):')
run: pnpm release --filter [HEAD^]
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push Release and Cleanup
if: |
!startsWith(github.event.head_commit.message , 'chore(repo):')
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 486cc69

Please sign in to comment.