Skip to content

Commit

Permalink
chore: allow branch release
Browse files Browse the repository at this point in the history
we skip `next-auth` via a pnpm patch to `@balazsorban/monorepo-release` for now
  • Loading branch information
balazsorban44 committed Nov 10, 2023
1 parent 762570b commit c9ab237
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,33 +113,33 @@ jobs:
# with:
# directory: ./coverage
# fail_ci_if_error: false
# release-branch:
# name: Publish branch
# runs-on: ubuntu-latest
# needs: test
# if: ${{ github.event_name == 'push' }}
# environment: Production
# steps:
# - name: Init
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# # Please upvote https://github.com/orgs/community/discussions/13836
# token: ${{ secrets.GH_PAT }}
# - name: Install pnpm
# uses: pnpm/[email protected]
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# cache: "pnpm"
# - name: Install dependencies
# run: pnpm install
# - name: Publish to npm and GitHub
# run: pnpm release
# env:
# # Please upvote https://github.com/orgs/community/discussions/13836
# GITHUB_TOKEN: ${{ secrets.GH_PAT }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
release-branch:
name: Publish branch
runs-on: ubuntu-latest
needs: test
if: ${{ github.event_name == 'push' }}
environment: Production
steps:
- name: Init
uses: actions/checkout@v3
with:
fetch-depth: 0
# Please upvote https://github.com/orgs/community/discussions/13836
token: ${{ secrets.GH_PAT }}
- name: Install pnpm
uses: pnpm/[email protected]
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Publish to npm and GitHub
run: pnpm release
env:
# Please upvote https://github.com/orgs/community/discussions/13836
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
release-pr:
name: Publish PR
runs-on: ubuntu-latest
Expand Down

1 comment on commit c9ab237

@vercel
Copy link

@vercel vercel bot commented on c9ab237 Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.