Skip to content

Commit 898b5db

Browse files
committed
chore: add github workflow
1 parent e69e86a commit 898b5db

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build.sh

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
run:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2-beta
11+
with:
12+
node-version: '12'
13+
- run: docker pull pactfoundation/pact-cli:latest
14+
- name: install
15+
run: npm i
16+
- name: build
17+
run: TRAVIS_BRANCH=${TRAVIS_BRANCH:11} make ci
18+
env:
19+
PACT_BROKER_TOKEN: ${{ secrets.TEST_PACTFLOW_IO_PACT_BROKER_TOKEN }}
20+
PACT_BROKER_PUBLISH_VERIFICATION_RESULTS: true
21+
TRAVIS_COMMIT: ${{ github.sha }}
22+
TRAVIS_BRANCH: ${{ github.ref }}

0 commit comments

Comments
 (0)