File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed 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@v3
17
+
18
+ - name : Setup Node.js 22.x
19
+ uses : actions/setup-node@v3
20
+ with :
21
+ node-version : 22.x
22
+
23
+ - name : Install Dependencies
24
+ run : npm install
25
+
26
+ - name : Create Release Pull Request or Publish to npm
27
+ id : changesets
28
+ uses : changesets/action@v1
29
+ with :
30
+ publish : npm run prerelease
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 13
13
"packageManager" : " npm@10.8.3" ,
14
14
"workspaces" : [
15
15
" packages/*"
16
- ]
16
+ ],
17
+ "scripts" : {
18
+ "prerelease" : " npx turbo lint test build"
19
+ }
17
20
}
You can’t perform that action at this time.
0 commit comments