Skip to content

0.51.0

0.51.0 #65

Workflow file for this run

name: Publish NPM Package
on:
release:
types: [published]
env:
CARGO_TERM_COLOR: always
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: macos-15
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install wasm-pack
run: cargo install wasm-pack
- uses: taiki-e/install-action@v2
with:
tool: just
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
working-directory: web
- name: Build
run: just build-web
- name: Update package.json with the public package refs
run: ./update-package-json.sh
working-directory: web
- name: Pack
run: "npm run pack:all"
working-directory: web
- name: Publish Core
run: "npm run publish:core"
working-directory: web
- name: Publish Web Component
run: npm publish --access public
working-directory: web