Skip to content

fix dep flow

fix dep flow #5

Workflow file for this run

name: "js: npm test"
on:
push:
branches: "main"
paths:
- hello-world-rust-wasm-component.js/**
- .github/workflows/js-npm-test.yml
- .github/workflows/build.yml
pull_request:
paths:
- hello-world-rust-wasm-component.js/**
- .github/workflows/js-npm-test.yml
- .github/workflows/build.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
uses: ./.github/workflows/build.yml
npm-test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- uses: actions/download-artifact@v4
with:
name: out
path: out
- run: npm ci
working-directory: hello-world-rust-wasm-component.js
- run: npm test
working-directory: hello-world-rust-wasm-component.js