Skip to content

chore: Remove git cliff debug step #86

chore: Remove git cliff debug step

chore: Remove git cliff debug step #86

Workflow file for this run

on:
push:
tags:
- "*.*.*"
permissions:
id-token: write
contents: write
name: Build and Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
components: rustfmt
override: true
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
with:
version: latest
- name: Install git-cliff
run: cargo install git-cliff
- name: Verify versions
run: rustc --version && rustup --version && cargo --version && wasm-pack --version && node --version && npm --version && node -p process.versions.v8
- name: Cache build context
id: cache-cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: build-${{ runner.os }}-cargo
- name: Release SDK (Wasm/JS)
run: cargo xtask wasm-pack publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}