diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1c5a0448..530a221a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -282,43 +282,14 @@ jobs:
gh release create "${{ needs.plan.outputs.tag }}" --target "$RELEASE_COMMIT" $PRERELEASE_FLAG --title "$ANNOUNCEMENT_TITLE" --notes-file "$RUNNER_TEMP/notes.txt" artifacts/*
- publish-npm:
- needs:
- - plan
- - host
- runs-on: "ubuntu-22.04"
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- PLAN: ${{ needs.plan.outputs.val }}
- if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }}
- steps:
- - name: Fetch npm packages
- uses: actions/download-artifact@v4
- with:
- pattern: artifacts-*
- path: npm/
- merge-multiple: true
- - uses: actions/setup-node@v4
- with:
- node-version: '20.x'
- registry-url: 'https://registry.npmjs.org'
- - run: |
- for release in $(echo "$PLAN" | jq --compact-output '.releases[] | select([.artifacts[] | endswith("-npm-package.tar.gz")] | any)'); do
- pkg=$(echo "$release" | jq '.artifacts[] | select(endswith("-npm-package.tar.gz"))' --raw-output)
- npm publish --access public "./npm/${pkg}"
- done
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
-
announce:
needs:
- plan
- host
- - publish-npm
# use "always() && ..." to allow us to wait for all publish jobs while
# still allowing individual publish jobs to skip themselves (for prereleases).
# "host" however must run to completion, no skipping allowed!
- if: ${{ always() && needs.host.result == 'success' && (needs.publish-npm.result == 'skipped' || needs.publish-npm.result == 'success') }}
+ if: ${{ always() && needs.host.result == 'success' }}
runs-on: "ubuntu-22.04"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/Cargo.toml b/Cargo.toml
index af219dde..9e38febd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -151,7 +151,7 @@ ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "npm", "msi"]
# Publish jobs to run in CI
-publish-jobs = ["npm"]
+publish-jobs = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
diff --git a/README.md b/README.md
index 3a291854..b530894c 100644
--- a/README.md
+++ b/README.md
@@ -99,22 +99,6 @@ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/nearai/ironclaw/release
```
-
- Run via npx (Node.js on Windows, Linux, macOS)
-
-```sh
-npx ironclaw
-```
-
-
-
- Use in package.json scripts (Node.js on Windows, Linux, macOS)
-
-```sh
-npm install ironclaw
-```
-
-
Compile the source code (Cargo on Windows, Linux, macOS)