Skip to content

chore(deps): bump glob and @semantic-release/npm #188

chore(deps): bump glob and @semantic-release/npm

chore(deps): bump glob and @semantic-release/npm #188

Workflow file for this run

name: wasm-miniscript
on:
push:
branches:
- master
pull_request:
branches:
- master
- rel/**
workflow_dispatch:
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Rust
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1
with:
toolchain: nightly
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
with:
workspaces: "packages/wasm-miniscript"
cache-on-failure: true
- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install wasm tools
run: |
rustup component add rustfmt
cargo install wasm-pack --version 0.13.1
cargo install wasm-opt --version 0.116.1
- name: Build Info
run: |
echo "node $(node --version)"
echo "npm $(npm --version)"
echo "rustc $(rustc --version)"
echo "wasm-pack $(wasm-pack --version)"
echo "wasm-opt $(wasm-opt --version)"
git --version
echo "base ref $GITHUB_BASE_REF"
echo "head ref $GITHUB_HEAD_REF"
- name: Fetch Base Ref
run: |
git fetch origin $GITHUB_BASE_REF
- name: Install Packages
run: npm ci --workspaces --include-workspace-root
- name: test
run: npx --version
- name: build packages
run: npm --workspaces run build
- name: Check Source Code Formatting
run: npm run check-fmt
- name: Unit Test
run: npm --workspaces test