-
Notifications
You must be signed in to change notification settings - Fork 253
44 lines (38 loc) · 1.38 KB
/
release-rc-auto.yaml
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
# name: Release RC version [auto]
# on:
# schedule:
# - cron: "00 08 * * THU"
# jobs:
# build-and-release:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# token: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
# fetch-depth: 0
# - uses: actions/setup-node@v4.0.1
# with:
# node-version: 18
# cache: 'yarn'
# - name: Install
# run: yarn --frozen-lockfile
# - name: Version Bump
# env:
# NPM_USERNAME: ${{ secrets.NPM_USER }}
# NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
# NPM_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
# GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
# run: |
# npm config set //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
# git config user.name "${{ secrets.UI5_WEBCOMP_BOT_NAME }}"
# git config user.email "${{ secrets.UI5_WEBCOMP_BOT_EMAIL }}"
# yarn lerna version --conventional-prerelease --force-publish --yes --exact --create-release github
# - name: Build
# run: yarn ci:releasebuild
# - name: Publish
# env:
# NPM_USERNAME: ${{ secrets.NPM_USER }}
# NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
# NPM_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
# GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
# run: yarn lerna publish from-git --yes