This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 2d174fc2 ci(bindings/nodejs): publish with LICENSE & NOTICE (#1790)
2d174fc2 is described below
commit 2d174fc26cc2d16d17399775035261cd0d68352b
Author: Suyan <[email protected]>
AuthorDate: Tue Mar 28 17:27:24 2023 +0800
ci(bindings/nodejs): publish with LICENSE & NOTICE (#1790)
chore(bindings/nodejs): publish with LICENSE & NOTICE
Signed-off-by: suyanhanx <[email protected]>
---
.github/workflows/bindings_nodejs.yml | 6 ++++++
bindings/nodejs/npm/darwin-arm64/README.md | 2 +-
bindings/nodejs/package.json | 4 +++-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/bindings_nodejs.yml
b/.github/workflows/bindings_nodejs.yml
index 4e457f79..a7861371 100644
--- a/.github/workflows/bindings_nodejs.yml
+++ b/.github/workflows/bindings_nodejs.yml
@@ -228,6 +228,12 @@ jobs:
- name: List packages
run: ls -R ./npm
shell: bash
+
+ - name: Add LICENSE & NOTICE
+ # Set working directory to root to copy LICENSE & NOTICE
+ working-directory: .
+ run: cp LICENSE NOTICE ./bindings/nodejs
+
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
diff --git a/bindings/nodejs/npm/darwin-arm64/README.md
b/bindings/nodejs/npm/darwin-arm64/README.md
index 7d907fde..73b6a5cb 100644
--- a/bindings/nodejs/npm/darwin-arm64/README.md
+++ b/bindings/nodejs/npm/darwin-arm64/README.md
@@ -1,3 +1,3 @@
# `@opendal/lib-darwin-arm64`
-This is the **aarch86_64-apple-darwin** binary for `opendal`
+This is the **aarch64-apple-darwin** binary for `opendal`
diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json
index 6c1f1331..798dd208 100644
--- a/bindings/nodejs/package.json
+++ b/bindings/nodejs/package.json
@@ -38,7 +38,9 @@
"files": [
"index.d.ts",
"index.js",
- "generated.js"
+ "generated.js",
+ "LICENSE",
+ "NOTICE"
],
"devDependencies": {
"@cucumber/cucumber": "^9.0.1",