-
-
Notifications
You must be signed in to change notification settings - Fork 141
37 lines (34 loc) · 1.04 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
name: pr
on:
pull_request:
branches:
- master
jobs:
alpha:
uses: darkbasic/shared-config/.github/workflows/release-snapshot.yml@main
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
npmTag: alpha
buildScript: compile
nodeVersion: 18
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
rc:
uses: darkbasic/shared-config/.github/workflows/release-snapshot.yml@main
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }}
with:
npmTag: rc
buildScript: compile
nodeVersion: 18
restoreDeletedChangesets: true
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
dependencies:
uses: darkbasic/shared-config/.github/workflows/changesets-dependencies.yaml@main
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
appId: ${{ vars.APP_ID }}
secrets:
privateKey: ${{ secrets.APP_PRIVATE_KEY }}