mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
chore: temporarily disallow branch release
This commit is contained in:
54
.github/workflows/release.yml
vendored
54
.github/workflows/release.yml
vendored
@@ -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/action-setup@v2.2.4
|
||||
- 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/action-setup@v2.2.4
|
||||
# - 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
|
||||
|
||||
Reference in New Issue
Block a user