chore(deps): bump pyo3 from 0.28.2 to 0.28.3 #499
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: NodeJS CI | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| node_test: | |
| name: "Node.js test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: latest | |
| cache: 'npm' | |
| cache-dependency-path: nodejs/package-lock.json | |
| - working-directory: nodejs | |
| run: npm install | |
| - name: Install wasm target | |
| run: | | |
| rustup target add wasm32-unknown-unknown | |
| - name: Get wasm-bindgen version | |
| id: wasm-bindgen-version | |
| run: | | |
| VERSION=$(grep -A 1 'name = "wasm-bindgen"' Cargo.lock | grep version | sed 's/.*"\(.*\)".*/\1/') | |
| echo "version=$VERSION" >> $GITHUB_OUTPUT | |
| - name: Install wasm-bindgen-cli | |
| uses: taiki-e/install-action@v2 | |
| with: | |
| tool: wasm-bindgen-cli@${{ steps.wasm-bindgen-version.outputs.version }} | |
| - name: Build the wasm module | |
| working-directory: nodejs | |
| run: | | |
| npm run build | |
| - name: Run the tests | |
| working-directory: nodejs | |
| run: | | |
| npm test |