Skip to content

Periodic

Periodic #1

Workflow file for this run

name: Periodic
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * SUN
jobs:
test:
strategy:
matrix:
platform:
- runner: ubuntu-latest
target: x86_64-unknown-linux-gnu
wasm-runner: --node
toolchain: [stable, beta, nightly]
features: [cjk]
runs-on: ${{ matrix.platform.runner }}
steps:
- name: Run checkout
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.platform.target }}
components: rustfmt, clippy
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Run test with node.js
run: wasm-pack test ${{ matrix.platform.wasm-runner }}