File tree 4 files changed +44
-3
lines changed
4 files changed +44
-3
lines changed Original file line number Diff line number Diff line change 4
4
"commit" : false ,
5
5
"fixed" : [],
6
6
"linked" : [],
7
- "access" : " restricted " ,
7
+ "access" : " public " ,
8
8
"baseBranch" : " main" ,
9
9
"updateInternalDependencies" : " patch" ,
10
10
"ignore" : []
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ jobs :
11
+ release :
12
+ name : Release
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout Repo
16
+ uses : actions/checkout@v4
17
+
18
+ - uses : pnpm/action-setup@v4
19
+ with :
20
+ # https://github.com/pnpm/pnpm/issues/8953
21
+ version : 9.15.3
22
+
23
+ - name : Use Node.js from nvmrc
24
+ uses : actions/setup-node@v4
25
+ with :
26
+ node-version-file : ' .nvmrc'
27
+ registry-url : ' https://registry.npmjs.org'
28
+
29
+ - name : Install Dependencies
30
+ run : pnpm i --frozen-lockfile
31
+
32
+ - name : Create Release Pull Request or Publish to npm
33
+ id : changesets
34
+ uses : changesets/action@v1
35
+ with :
36
+ publish : pnpm run release
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ jobs:
14
14
steps :
15
15
- uses : actions/checkout@v4
16
16
17
- - name : Setup Node.js
17
+ - name : Use Node.js from nvmrc
18
18
uses : actions/setup-node@v4
19
19
with :
20
- node-version : " 22"
20
+ node-version-file : ' .nvmrc'
21
+ registry-url : ' https://registry.npmjs.org'
21
22
22
23
- name : Install pnpm
23
24
uses : pnpm/action-setup@v4
Original file line number Diff line number Diff line change
1
+ 22.13.1
You can’t perform that action at this time.
0 commit comments