-
-
Notifications
You must be signed in to change notification settings - Fork 99
46 lines (41 loc) · 1.11 KB
/
beta-release.yml
File metadata and controls
46 lines (41 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Beta Release
on:
push:
branches:
- beta
workflow_dispatch:
inputs:
tag:
description: 'Beta tag (e.g., beta, alpha, rc)'
required: true
default: 'beta'
type: string
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
beta-release:
name: Beta Release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Install packages
run: ./scripts/ci-install.sh
- name: Create Beta Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: yarn changeset:version:beta
publish: yarn changeset:publish:beta
commit: "internal: Publish beta version"
title: "Version Packages (Beta)"
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}