mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2026-03-29 03:18:28 +00:00
37 lines
963 B
YAML
37 lines
963 B
YAML
name: Release candidate cut
|
|
on:
|
|
schedule:
|
|
- cron: '28 21 20 * *' # run at minute 28 to avoid the chance of delay due to high load on GH
|
|
jobs:
|
|
new-release:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
ref: ${{ github.ref_name }}
|
|
fetch-depth: 0
|
|
token: ${{ secrets.CI_PAT }}
|
|
|
|
- name: Setup NodeJS
|
|
uses: ./.github/actions/setup-node
|
|
with:
|
|
node-version: 22.16.0
|
|
deno-version: 2.3.1
|
|
cache-modules: true
|
|
install: true
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
|
|
- uses: rharkor/caching-for-turbo@v1.8
|
|
|
|
- name: Build packages
|
|
run: yarn build
|
|
|
|
- name: 'Start release candidate'
|
|
uses: ./packages/release-action
|
|
with:
|
|
action: next
|
|
base-ref: ${{ github.ref_name }}
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.CI_PAT }}
|