Skip to content

Commit 30cbf49

Browse files
committed
chore(ci): skip examples on publish due to jest-pact error
requires jest-pact updating to support latest pact-js changes pact-foundation/jest-pact#423
1 parent f35f59a commit 30cbf49

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
run: scripts/ci/release.sh
3232
env:
3333
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTOMATION_TOKEN}}
34+
SKIP_EXAMPLES: true
35+
# examples are skipped, due to jest-pact requiring updating to support pact-js-v16
36+
# will be reinstated, post release of https://github.com/pact-foundation/jest-pact/pull/423
3437
- name: Create Release
3538
id: create_release
3639
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1

scripts/ci/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ RELEASE_NOTES="${RELEASE_NOTES//$'\r'/'%0D'}"
3030
echo "::set-output name=notes::$RELEASE_NOTES"
3131

3232
npm ci
33-
"$SCRIPT_DIR"/build-and-test.sh
3433

34+
# run release first prior to test, so dist folder has the right version
3535
npm run release
36+
"$SCRIPT_DIR"/build-and-test.sh
3637

3738
# Emit version to next step
3839
VERSION="$("$SCRIPT_DIR/lib/get-version.sh")"

0 commit comments

Comments
 (0)