Skip to content

Commit

Permalink
feat: v2 pact-standalone with arm64 linux/macos support (pact-node br…
Browse files Browse the repository at this point in the history
…anch) (#491)

* test: update ssl certs

* ci: update github workflows
- cover node 14->20
- add macos-14 arm64 for node16+
- test and release from pact-node branch

* feat: v2 pact-standalone with arm64 linux/macos support

* chore(deps): update dependencies

* chore(deps): pino migrate to pino-pretty

* fix: can-i-deploy json+verbose results in error so drop verbose and warn user

* chore: tsconfig @ts-no-check due to compile errors
  • Loading branch information
YOU54F authored Feb 28, 2024
1 parent 33d0ed4 commit 74a14d5
Show file tree
Hide file tree
Showing 13 changed files with 11,968 additions and 17,802 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,33 @@ name: Build and test

on:
push:
branches: [master]
branches: [pact-node,feat/pact_node_arm64]
pull_request:
branches: [master]
branches: [pact-node]
workflow_dispatch:

jobs:
build-and-test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [14,16,18,20]
os: [
ubuntu-latest,
macos-12,
macos-14,
windows-latest
]
exclude:
- os: "macos-14"
node-version: 14

fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: script/ci/build-and-test.sh
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ on:
repository_dispatch:
types:
- release-triggered

workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16
registry-url: 'https://registry.npmjs.org'
- id: publish
run: script/ci/release.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- run: |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
Expand Down
Loading

0 comments on commit 74a14d5

Please sign in to comment.