Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
xtask = "run --package xtask --"
38 changes: 38 additions & 0 deletions .github/workflows/mean_bean_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,41 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

publish-npm:
needs: [windows, macos, linux]
runs-on: ubuntu-latest
name: Publish npm packages
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Cache xtask build
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-xtask-${{ hashFiles('xtask/Cargo.toml') }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"

- name: Download binaries and publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: cargo xtask npm bump ${{ steps.tag.outputs.tag }}
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
/target
**/*.rs.bk
tmp/
/rustywind
node_modules

# test fixture node modules
rustywind-core/tests/fixtures/package-lock.json

# Claude Code settings
.claude/
Loading
Loading