Skip to content

Commit e9c3b22

Browse files
committed
Revert "automate releases (#3052)"
This reverts commit f51f226.
1 parent f51f226 commit e9c3b22

File tree

3 files changed

+26
-92
lines changed

3 files changed

+26
-92
lines changed
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 }}

.github/workflows/release.yml

-86
This file was deleted.

CONTRIBUTING.md

-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
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
167166
npm 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

0 commit comments

Comments
 (0)