File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Node.js Github Package
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - uses : actions/setup-node@v4
13+ with :
14+ node-version : 20
15+ - run : npm ci
16+ - run : npm test
17+
18+ publish-gpr :
19+ needs : build
20+ runs-on : ubuntu-latest
21+ permissions :
22+ contents : read
23+ packages : write
24+ steps :
25+ - uses : actions/checkout@v4
26+ - uses : actions/setup-node@v4
27+ with :
28+ node-version : 20
29+ registry-url : https://npm.pkg.github.com/
30+ - run : npm ci
31+ - run : npm publish
32+ env :
33+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 6060 "ts-jest" : " ^29.3.4" ,
6161 "typescript" : " ^5.8.3"
6262 },
63+ "publishConfig" : {
64+ "registry" : " https://npm.pkg.github.com/"
65+ },
6366 "packageManager" : " pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
6467}
You can’t perform that action at this time.
0 commit comments