File tree 2 files changed +27
-42
lines changed
2 files changed +27
-42
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
branches :
5
5
- ' **'
6
+ tags :
7
+ - ' !**'
6
8
pull_request :
7
9
branches :
8
10
- main
12
14
test :
13
15
if : ${{ ! startsWith(github.event.head_commit.message, 'release:') && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) }}
14
16
uses : ./.github/workflows/test.yml
17
+
18
+ continuous-release :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Install pnpm
25
+ uses : pnpm/action-setup@v4
26
+
27
+ - name : Install Node.js
28
+ uses : actions/setup-node@v4
29
+ with :
30
+ node-version-file : ' .node-version'
31
+ registry-url : ' https://registry.npmjs.org'
32
+ cache : ' pnpm'
33
+
34
+ - name : Install deps
35
+ run : pnpm install
36
+
37
+ - name : Build
38
+ run : pnpm build --withTypes
39
+
40
+ - name : Release
41
+ run : pnpx pkg-pr-new publish --compact --pnpm './packages/*'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments