Skip to content

feat: ci/cd

feat: ci/cd #8

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: jetli/[email protected]
with:
version: v0.13.1
- name: Test
run: wasm-pack test --node