File tree Expand file tree Collapse file tree 3 files changed +26
-92
lines changed Expand file tree Collapse file tree 3 files changed +26
-92
lines changed Original file line number Diff line number Diff line change 1+ name : Publish undici-types
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
17+ - uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
18+ with :
19+ node-version : lts/*
20+ registry-url : ' https://registry.npmjs.org'
21+ - run : npm install
22+ - run : node scripts/generate-undici-types-package-json.js
23+ - run : npm publish
24+ working-directory : ' ./types'
25+ env :
26+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 * [ Lint] ( #lint )
66 * [ Test] ( #test )
77 * [ Coverage] ( #coverage )
8- * [ Releases] ( #releases )
98 * [ Update ` WPTs ` ] ( #update-wpts )
109 * [ Building for externally shared node builtins] ( #external-builds )
1110* [ Developer's Certificate of Origin 1.1] ( #developers-certificate-of-origin )
@@ -167,11 +166,6 @@ npm run test
167166npm run coverage
168167```
169168
170- <a id =" releases " ></a >
171- ### Issuing Releases
172-
173- Use the release github action.
174-
175169<a id =" external-builds " ></a >
176170### Building for externally shared node builtins
177171
You can’t perform that action at this time.
0 commit comments