Skip to content

Commit 1c21506

Browse files
committed
Add instructions for manual registration of a new npm version
1 parent 3b1d773 commit 1c21506

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Releasing a new npm version
2+
3+
- Change the version in `package.json`, make a new git tag, and push it to GitHub.
4+
- Wait until the GitHub Actions on the master branch pass.
5+
- The artifacts of the latest GitHub Action run should be downloaded from the actions tab of the GitHub repository
6+
- The artifacts.zip should be extracted and placed under the `prebuilds` folder (replacing the old folder if it exists).
7+
8+
The `prebuilds` folder should look like the following.
9+
```
10+
repository-root
11+
|-prebuilds
12+
|_linux-x64
13+
|...
14+
|_darwin-x64
15+
|...
16+
|_win32-x64
17+
|...
18+
```
19+
20+
- Then:
21+
```
22+
npm publish
23+
```

0 commit comments

Comments
 (0)