Skip to content

Commit

Permalink
chore: enable v1 hotfix releases (#1682)
Browse files Browse the repository at this point in the history
* chore: enable v1 hotfix releases

* chore: run ci pipeline against PRs to v1-hotfix branch

* chore: remove changeset pre config

* chore: publish docs and storybook from remirror v1
  • Loading branch information
whawker committed Jun 4, 2022
1 parent b5aa0fe commit a45cd71
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 116 deletions.
110 changes: 0 additions & 110 deletions .changeset/pre.json

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
push:
branches:
- main
- v1-hotfix

pull_request:
branches:
- main
- v1-hotfix

env:
PNPM_CACHE_FOLDER: .pnpm-store
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: docs
on:
push:
branches:
- main
- v1-hotfix
pull_request:
types: [opened, synchronize]
branches:
- v1-hotfix
- main

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: publish
on:
workflow_run:
workflows: [ci]
branches: [main, v2]
branches: [main, v1-hotfix]
types: [completed]

env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: storybook
on:
push:
branches:
- main
- v1-hotfix
pull_request:
types: [opened, synchronize]
branches:
- v1-hotfix
- main

env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
push:
branches:
- main
- v2
- v1-hotfix

pull_request:
branches:
- main
- v2
- v1-hotfix

env:
PNPM_CACHE_FOLDER: .pnpm-store
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:

- name: create versions
uses: changesets/action@master
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/v2' }}
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/v1-hotfix' }}
with:
version: pnpm version:ci
commit: 'chore(changeset): version update'
Expand Down

0 comments on commit a45cd71

Please sign in to comment.