Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/main.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,30 +38,3 @@ jobs:
run: pnpm install --frozen-lockfile
- name: bench
run: pnpm bench

release_snapshot:
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
name: Release snapshot
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
with:
npmTag: alpha
buildScript: build
nodeVersion: 20
packageManager: pnpm
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}

release_candidate:
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
name: Release candidate
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }}
with:
npmTag: rc
restoreDeletedChangesets: true
buildScript: build
nodeVersion: 20
packageManager: pnpm
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
52 changes: 52 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: release
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
Comment thread
dotansimha marked this conversation as resolved.

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
id-token: write
pull-requests: write
actions: write
contents: write

jobs:
stable:
if: github.event_name == 'push'
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
with:
releaseScript: release
packageManager: pnpm
nodeVersion: 24
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}

snapshot:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.title != 'Upcoming Release Changes'
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
with:
npmTag: alpha
buildScript: build
packageManager: pnpm
nodeVersion: 24
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}

rc:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.title == 'Upcoming Release Changes'
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
with:
npmTag: rc
restoreDeletedChangesets: true
buildScript: build
packageManager: pnpm
nodeVersion: 24
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Loading