-
Notifications
You must be signed in to change notification settings - Fork 231
46 lines (42 loc) · 1.31 KB
/
pr.yml
File metadata and controls
46 lines (42 loc) · 1.31 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: Snapshot Release
on:
pull_request:
branches:
- main
permissions: write-all
jobs:
dependencies:
uses: ./.github/workflows/shared-changesets-dependencies.yml
with:
gitUserEmail: [email protected]
gitUserName: pinax-bot
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
secrets:
githubToken: ${{ secrets.PINAX_BOT_GITHUB_TOKEN }}
pgpPrivateKey: ${{ secrets.PINAX_BOT_PGP_PRIVATE_KEY }}
pgpPassphrase: ${{ secrets.PINAX_BOT_PGP_PASSPHRASE }}
alpha:
uses: ./.github/workflows/shared-release-snapshot.yml
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
npmTag: alpha
buildScript: build
nodeVersion: 20
packageManager: pnpm
packageManagerVersion: 9
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
release-candidate:
uses: ./.github/workflows/shared-release-snapshot.yml
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }}
with:
npmTag: rc
buildScript: build
nodeVersion: 20
packageManager: pnpm
packageManagerVersion: 9
restoreDeletedChangesets: true
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}