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 88 build :
99 runs-on : ubuntu-latest
1010 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
1316 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
1622 with :
17- node-version : ' 20 '
23+ node-version : 20
1824 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
2131
2232 publish-gpr :
2333 needs : build
@@ -26,15 +36,25 @@ jobs:
2636 packages : write
2737 contents : read
2838 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
3144 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
3450 with :
35- node-version : ' 20 '
51+ node-version : 20
3652 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
3959 env :
4060 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments