Skip to content

Bump @types/node from 22.5.4 to 22.5.5 in /javascript #1106

Bump @types/node from 22.5.4 to 22.5.5 in /javascript

Bump @types/node from 22.5.4 to 22.5.5 in /javascript #1106

Workflow file for this run

name: Unittest for NodeJS
on:
push:
paths:
- 'javascript/**'
pull_request:
paths:
- 'javascript/**'
permissions:
contents: read
jobs:
nodejs-unittest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [18, 20]
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
working-directory: ./javascript
- name: Create symlink
run: npm link
working-directory: ./javascript
- name: Build package
run: npm run build --if-present
working-directory: ./javascript
- name: Run testcases
run: npm test
working-directory: ./javascript