-
-
Notifications
You must be signed in to change notification settings - Fork 29
46 lines (41 loc) · 1.33 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
42
43
44
45
46
name: pr
on:
pull_request:
branches:
- master
paths-ignore:
- 'website/**'
env:
NODE_OPTIONS: --max-old-space-size=4096
jobs:
dependencies:
uses: the-guild-org/shared-config/.github/workflows/changesets-dependencies.yaml@main
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
alpha:
if:
${{ (github.event.pull_request.head.repo.full_name == github.repository ||
github.event.inputs.onDemand == 'yes') && github.event.pull_request.title != 'Upcoming Release
Changes' }}
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
with:
npmTag: alpha
buildScript: build
nodeVersion: 20
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NODE_AUTH_TOKEN }}
release-candidate:
if:
${{ github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.title == 'Upcoming Release Changes' }}
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
with:
npmTag: rc
buildScript: build
nodeVersion: 20
restoreDeletedChangesets: true
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NODE_AUTH_TOKEN }}