Skip to content

chore: upgrade for security vulnerabilities #536

chore: upgrade for security vulnerabilities

chore: upgrade for security vulnerabilities #536

Workflow file for this run

name: Build and test
on:
push:
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build-and-test-osx:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
node-version: [16,18,20]
os: [macos-latest,ubuntu-latest,windows-latest]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: script/ci/build-and-test.sh
if: runner.os != 'Windows'
env:
NODE_VERSION: ${{ matrix.node-version }}
PACT_BROKER_FEATURES: publish_pacts_using_old_api
- run: script/ci/build-and-test.sh
if: runner.os == 'Windows'
env:
NODE_VERSION: ${{ matrix.node-version }}
PACT_BROKER_FEATURES: publish_pacts_using_old_api
ONLY_DOWNLOAD_PACT_FOR_WINDOWS: true