Commit 42409a4 1 parent 7a3edc0 commit 42409a4 Copy full SHA for 42409a4
File tree 4 files changed +49
-19
lines changed
4 files changed +49
-19
lines changed Original file line number Diff line number Diff line change 7
7
lint :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v3
10
+ - uses : actions/checkout@v4
11
11
12
12
- uses : pnpm/action-setup@v2
13
13
with :
14
- version : 8 .6.0
14
+ version : 9 .6.0
15
15
16
- - uses : actions/setup-node@v3
16
+ - uses : actions/setup-node@v4
17
17
with :
18
- node-version : 18
18
+ node-version : 20
19
19
cache : pnpm
20
20
21
21
- run : pnpm install
Original file line number Diff line number Diff line change
1
+ name : Publish Any Commit to pkg.pr.new
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - ' **'
8
+ tags :
9
+ - ' !**'
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ with :
18
+ fetch-depth : 0
19
+
20
+ - uses : pnpm/action-setup@v2
21
+ with :
22
+ version : 9.6.0
23
+
24
+ - uses : actions/setup-node@v4
25
+ with :
26
+ node-version : 20
27
+ cache : pnpm
28
+
29
+ - run : pnpm install
30
+
31
+ - run : pnpm build
32
+
33
+ - name : Release
34
+ run : pnpm dlx pkg-pr-new publish --compact --pnpm './packages/*'
Original file line number Diff line number Diff line change @@ -12,27 +12,23 @@ jobs:
12
12
contents : write
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@v4
16
16
with :
17
17
fetch-depth : 0
18
18
19
- - name : Install pnpm
20
- uses : pnpm/action-setup@v2
19
+ - uses : pnpm/action-setup@v2
21
20
with :
22
- version : 8 .6.0
21
+ version : 9 .6.0
23
22
24
- - name : Setup node
25
- uses : actions/setup-node@v3
23
+ - uses : actions/setup-node@v4
26
24
with :
27
- node-version : 18
25
+ node-version : 20
28
26
cache : pnpm
29
27
registry-url : ' https://registry.npmjs.org'
30
28
31
- - name : Install Dependencies
32
- run : pnpm i
29
+ - run : pnpm install
33
30
34
- - name : PNPM build
35
- run : pnpm run build
31
+ - run : pnpm build
36
32
37
33
- name : Publish to NPM
38
34
run : pnpm -r publish --access public --no-git-checks
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
16
16
- uses : pnpm/action-setup@v2
17
17
with :
18
- version : 8 .6.0
18
+ version : 9 .6.0
19
19
20
- - uses : actions/setup-node@v3
20
+ - uses : actions/setup-node@v4
21
21
with :
22
- node-version : 18
22
+ node-version : 20
23
23
cache : pnpm
24
24
25
25
- run : pnpm install
You can’t perform that action at this time.
0 commit comments