Skip to content

Commit

Permalink
Merge pull request #487 from balancer/changeset-workflow
Browse files Browse the repository at this point in the history
Changeset workflow
  • Loading branch information
franzns committed Jun 21, 2024
2 parents a07ea3f + 07a7fc9 commit c811616
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-lizards-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'backend': patch
---

make the workflow manual
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Release

on:
push:
branches:
- main
workflow_dispatch:

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -15,10 +13,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 18
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: Install Dependencies
run: yarn
Expand All @@ -27,3 +25,8 @@ jobs:
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create publish to production Pull Request
run: gh pr create -B main -H canary --title 'publish to prod' --body 'Created by Github action. Check CHANGELOG.md for more details.'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c811616

Please sign in to comment.