fix: restore makeConsumerAsyncMessagePact #549
Workflow file for this run
This file contains 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: Build and test | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
build-and-test-osx: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: script/ci/build-and-test.sh | |
env: | |
NODE_VERSION: ${{ matrix.node-version }} | |
PACT_BROKER_FEATURES: publish_pacts_using_old_api | |
build-and-test-ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set MSVS version | |
run: npm config set msvs_version 2017 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: script/ci/build-and-test.sh | |
env: | |
NODE_VERSION: ${{ matrix.node-version }} | |
PACT_BROKER_FEATURES: publish_pacts_using_old_api | |
build-and-test-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Fix node-gyp | |
run: |- | |
npm install --global node-gyp@latest | |
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | |
shell: pwsh | |
- run: bash script/ci/build-and-test.sh | |
shell: bash | |
env: | |
NODE_VERSION: ${{ matrix.node-version }} | |
# The windows build agent has trouble unpacking the tar for | |
# linux, so we only download windows binaries. This means | |
# we cannot release from Windows in CI. | |
ONLY_DOWNLOAD_PACT_FOR_WINDOWS: true | |
PACT_BROKER_FEATURES: publish_pacts_using_old_api |