File tree Expand file tree Collapse file tree 1 file changed +34
-14
lines changed Expand file tree Collapse file tree 1 file changed +34
-14
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v4
12
- - uses : pnpm/action-setup@0609f0983b7a228f052f81ef4c3d6510cae254ad
11
+ - name : Checkout
12
+ uses : actions/checkout@v4
13
+
14
+ - uses : pnpm/action-setup@v4
15
+ name : Install pnpm
13
16
with :
14
- version : 6.10.0
15
- - uses : actions/setup-node@v4
17
+ version : 9
18
+ run_install : false
19
+
20
+ - name : Install Node.js
21
+ uses : actions/setup-node@v4
16
22
with :
17
- node-version : ' 20 '
23
+ node-version : 20
18
24
cache : ' pnpm'
19
- - run : pnpm install
20
- - run : pnpm test
25
+
26
+ - name : Install dependencies
27
+ run : pnpm install
28
+
29
+ - name : Test
30
+ run : pnpm test
21
31
22
32
publish-gpr :
23
33
needs : build
@@ -26,15 +36,25 @@ jobs:
26
36
packages : write
27
37
contents : read
28
38
steps :
29
- - uses : actions/checkout@v4
30
- - uses : pnpm/action-setup@0609f0983b7a228f052f81ef4c3d6510cae254ad
39
+ - name : Checkout
40
+ uses : actions/checkout@v4
41
+
42
+ - uses : pnpm/action-setup@v4
43
+ name : Install pnpm
31
44
with :
32
- version : 6.10.0
33
- - uses : actions/setup-node@v4
45
+ version : 9
46
+ run_install : false
47
+
48
+ - name : Install Node.js
49
+ uses : actions/setup-node@v4
34
50
with :
35
- node-version : ' 20 '
51
+ node-version : 20
36
52
cache : ' pnpm'
37
- - run : pnpm install
38
- - run : pnpm publish
53
+
54
+ - name : Install dependencies
55
+ run : pnpm install
56
+
57
+ - name : Publish to GitHub Package Registry
58
+ run : pnpm publish
39
59
env :
40
60
NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments