File tree 1 file changed +57
-0
lines changed
1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Alpha Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ alpha-release :
8
+ runs-on : ubuntu-latest
9
+ permissions :
10
+ contents : write
11
+ steps :
12
+ - name : Checkout Repo
13
+ uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - name : Setup Environment and Install Dependencies (Immutable)
18
+ uses : ./.github/actions/setup
19
+
20
+ - name : Configure Git User
21
+ run : |
22
+ git config user.name "GitHub Actions Bot"
23
+ git config user.email "github-actions[bot]@users.noreply.github.com"
24
+ shell : bash
25
+
26
+ - name : Enter Pre-mode
27
+ run : yarn changeset pre enter alpha
28
+ shell : bash
29
+
30
+ - name : Version Packages for Alpha
31
+ run : yarn changeset version
32
+ shell : bash
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+
36
+ - name : Update Lockfile
37
+ run : yarn install --immutable false
38
+ shell : bash
39
+
40
+ - name : Build Packages
41
+ run : yarn changeset:prepublish
42
+ shell : bash
43
+
44
+ - name : Configure NPM for Publishing
45
+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
46
+ shell : bash
47
+
48
+ - name : Publish Alpha to NPM
49
+ run : yarn changeset publish --tag alpha
50
+ shell : bash
51
+ env :
52
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
+
54
+ - name : Push Changes and Tags
55
+ run : |
56
+ git push --follow-tags
57
+ shell : bash
You can’t perform that action at this time.
0 commit comments