File tree 2 files changed +25
-0
lines changed
2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Any Commit
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ build :
6
+ runs-on : ubuntu-latest
7
+
8
+ steps :
9
+ - name : Checkout code
10
+ uses : actions/checkout@v4
11
+
12
+ - run : corepack enable
13
+ - uses : actions/setup-node@v4
14
+ with :
15
+ node-version : 20
16
+ cache : " yarn"
17
+
18
+ - name : Install dependencies
19
+ run : yarn install
20
+
21
+ - name : Build
22
+ run : yarn build
23
+
24
+ - run : yarn publish:continuous
Original file line number Diff line number Diff line change 49
49
"version:nightly" : " yarn workspaces foreach --all --no-private -t version -d 3.0.0-nightly-$(git rev-parse --short HEAD)-$(date +'%y%m%d') && yarn apply-nightly --all" ,
50
50
"publish:nightly" : " yarn workspaces foreach --all --no-private -t npm publish --tag nightly --access public" ,
51
51
"build:api-published" : " node scripts/buildPublishedAPI.js" ,
52
+ "publish:continuous" : " yarn workspaces foreach --all --no-private --include '@react-aria-nutrient/*' -t npx pkg-pr-new publish" ,
52
53
"build:api-branch" : " node scripts/buildBranchAPI.js" ,
53
54
"compare:apis" : " node scripts/compareAPIs.js" ,
54
55
"check-apis" : " yarn build:api-branch --githash=\" origin/main\" --output=\" base-api\" && yarn build:api-branch && yarn compare:apis" ,
You can’t perform that action at this time.
0 commit comments