Skip to content

Commit

Permalink
ci: run prerelease separately
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jul 6, 2022
1 parent 8c9e85d commit 2ec7aaf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Expand Up @@ -28,15 +28,16 @@ jobs:
- name: Prepare Git Hooks
run: yarn prepare

- name: Prerelease
run: yarn prerelease

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: yarn changeset version
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: |
yarn prerelease
yarn release
publish: yarn release
commit: 'chore: release eslint-import-resolver-typescript'
title: 'chore: release eslint-import-resolver-typescript'
env:
Expand Down

0 comments on commit 2ec7aaf

Please sign in to comment.