Skip to content

Bump js-yaml from 4.3.0 to 4.3.1 in /nodejs #66

Bump js-yaml from 4.3.0 to 4.3.1 in /nodejs

Bump js-yaml from 4.3.0 to 4.3.1 in /nodejs #66

Workflow file for this run

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
name: Run Node.js Tests
on:
pull_request:
branches:
- main
paths:
- "nodejs/**"
- ".github/workflows/test-nodejs.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x, 24.x, 25.x]
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: "nodejs/package-lock.json"
- name: Install dependencies
working-directory: nodejs
run: npm ci --ignore-scripts
- name: Run unit tests
working-directory: nodejs
run: npm run test:unit
- name: Run functional tests
working-directory: nodejs
run: npm run test:functional
- name: Run pre-publish tests
working-directory: nodejs
run: npm run build && npm pack && npm run test:prepublish