Skip to content

Commit 53b1a34

Browse files
committed
small cleanup for build
1 parent 056cb84 commit 53b1a34

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,20 @@ jobs:
200200
for archive in artifacts/**/*.tar.gz; do
201201
found=true
202202
tar -xzf "$archive" -C prebuilds
203+
rm -f "$archive"
203204
done
204205
if [ "$found" = false ]; then
205206
echo "No prebuild archives were downloaded." >&2
206207
exit 1
207208
fi
208209
210+
# IMPORTANT: npm >= 11.5.1 and npm publish, not yarn npm publish
211+
- name: Ensure recent npm for trusted publishing
212+
run: npm install -g npm@latest
213+
214+
- name: Verify npm version
215+
run: npm --version
216+
209217
- name: Publish to npm via trusted publisher
210218
run: npm publish --provenance --access public
211219

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ try {
208208
209209
Prebuilt binaries are provided for:
210210

211-
| Operating System | Architectures |
212-
| ---------------- | --------------------- |
213-
| Linux | x64, ia32, arm, arm64 |
214-
| macOS | x64, arm64 |
215-
| Windows | x64 |
211+
| Operating System | Architectures |
212+
| ---------------- | ------------- |
213+
| Linux | x64, arm64 |
214+
| macOS | x64, arm64 |
215+
| Windows | x64 |
216216

217217
If a prebuilt binary is not available for your platform, Node will attempt to build from source during installation; this requires a working C/C++ toolchain and build tools for your OS.
218218

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"repository": {
3535
"type": "git",
36-
"url": "https://github.com/biw/libopus-node.git"
36+
"url": "git+https://github.com/biw/libopus-node.git"
3737
},
3838
"dependencies": {
3939
"node-addon-api": "8.3.1",

0 commit comments

Comments
 (0)