Skip to content

chore: dependencies maintenance #5

chore: dependencies maintenance

chore: dependencies maintenance #5

Workflow file for this run

name: Test
on: [pull_request]
jobs:
test-node:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
node: [18, 20]
name: Node ${{ matrix.node }} Test
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: dtolnay/rust-toolchain@stable
- uses: jetli/wasm-pack-action@v0.4.0
with:
version: latest
- uses: Swatinem/rust-cache@v2
- name: Restore NPM cache
uses: actions/cache@v3
continue-on-error: true
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: wasm-pack build --release -t nodejs && ./helper/morph-wasm-pack-output.sh
- run: npm run lint