-
Notifications
You must be signed in to change notification settings - Fork 574
42 lines (39 loc) · 1.22 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
name: Snapshot Release
on:
push:
branches:
- main
pull_request:
jobs:
alpha:
permissions:
contents: read
id-token: write
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@v1
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
npmTag: alpha
buildScript: build
node-version-file: .node-version
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NODE_AUTH_TOKEN }}
release-candidate:
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@v1
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }}
with:
npmTag: rc
restoreDeletedChangesets: false
buildScript: build
node-version-file: .node-version
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NODE_AUTH_TOKEN }}
dependencies:
uses: the-guild-org/shared-config/.github/workflows/changesets-dependencies.yml@v1
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
secrets:
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
with:
installDependencies: true
node-version-file: .node-version