-
Notifications
You must be signed in to change notification settings - Fork 197
38 lines (35 loc) · 1.03 KB
/
release.yaml
File metadata and controls
38 lines (35 loc) · 1.03 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
name: release
on:
pull_request: # for snapshot release
branches:
- main
push: # for stable release
branches:
- main
jobs:
release-snapshot:
if: github.event_name == 'pull_request'
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main
permissions:
id-token: write # allows ODIC publishing
pull-requests: write # allows creating comment with alpha versions
with:
npmTag: alpha
buildScript: build
nodeVersion: 24
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: FILLER
release-stable:
if: github.event_name == 'push'
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
permissions:
id-token: write # allows ODIC publishing
pull-requests: write # allows creating Version Packages PR
contents: write # allows modifying changeset files
with:
releaseScript: release
nodeVersion: 24
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: FILLER