-
Notifications
You must be signed in to change notification settings - Fork 216
41 lines (37 loc) · 1.11 KB
/
pr.yml
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
name: Snapshot Release
on:
pull_request:
branches:
- main
permissions: write-all
jobs:
dependencies:
uses: ./.github/workflows/shared-changesets-dependencies.yml
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
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.1.0
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.1.0
restoreDeletedChangesets: true
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}