Skip to content

Merge pull request #170 from case-contract-testing/dependabot/npm_and… #798

Merge pull request #170 from case-contract-testing/dependabot/npm_and…

Merge pull request #170 from case-contract-testing/dependabot/npm_and… #798

name: Build + test
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-test-osx:
runs-on: macos-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: ci/build-and-test.sh
env:
CASE_BROKER_CI_TOKEN: ${{ secrets.PACTFLOW_TOKEN }}
CASE_BROKER_BASEURL: https://timothyjones.pactflow.io/
NODE_VERSION: ${{ matrix.node-version }}
FORCE_COLOR: true
build-and-test-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: ci/build-and-test.sh
env:
CASE_BROKER_CI_TOKEN: ${{ secrets.PACTFLOW_TOKEN }}
CASE_BROKER_BASEURL: https://timothyjones.pactflow.io/
NODE_VERSION: ${{ matrix.node-version }}
FORCE_COLOR: true
build-and-test-windows:
runs-on: windows-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: bash ci/build-and-test.sh
shell: bash
env:
CASE_BROKER_CI_TOKEN: ${{ secrets.PACTFLOW_TOKEN }}
CASE_BROKER_BASEURL: https://timothyjones.pactflow.io/
NODE_VERSION: ${{ matrix.node-version }}
FORCE_COLOR: true