Skip to content

Commit 4db21db

Browse files
authored
Merge branch 'master' into fix/replace-byte-by-binary
2 parents af2dac3 + 95918ed commit 4db21db

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/build-lint-test.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,26 @@ jobs:
2727
env:
2828
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY}}
2929

30+
- name: Set up Node environment
31+
uses: actions/setup-node@v2
32+
with:
33+
node-version: 20
34+
35+
- name: Install Prism
36+
run: npm install -g @stoplight/prism-cli
37+
38+
- name: Start PRISM Server
39+
run: ./start-prism.sh & sleep 15
40+
working-directory: Xero-Java/src/test/java/com/xero/api/util
41+
3042
- name: Build and test post generation
3143
run: |
3244
export GPG_TTY=$(tty)
33-
mvn clean verify -DskipTests=true
45+
mvn clean verify
3446
env:
3547
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
3648
working-directory: Xero-Java
49+
50+
- name: Stop PRISM
51+
run: pkill -f prism
52+
working-directory: Xero-Java

0 commit comments

Comments
 (0)