Skip to content

Commit

Permalink
Fix node compatibility test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
banool committed Aug 10, 2023
1 parent 0f2a91f commit 2bf1e5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ name: "Build+Test Docker Images"
on: # build on main branch OR when a PR is labeled with `CICD:build-images`
# Allow us to run this specific workflow without a PR
workflow_dispatch:
pull_request_target:
# todo undo
pull_request:
types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
push:
branches:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/node-api-compatibility-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ jobs:
if: ${{ !inputs.SKIP_JOB }}

# Ensure any changes to the generated client were checked in.
- run: |
cd ./ecosystem/typescript/sdk && pnpm generate-client -o /tmp/generated_client
- run: cd ./ecosystem/typescript/sdk && pnpm generate-client -o /tmp/generated_client
if: ${{ !inputs.SKIP_JOB }}

- run:
echo "If this step fails, run the following command locally to fix it:"
echo "cd ecosystem/typescript/sdk && pnpm generate-client"
git diff --no-index --ignore-space-at-eol --ignore-blank-lines ./ecosystem/typescript/sdk/src/generated/ /tmp/generated_client/
Expand Down

0 comments on commit 2bf1e5a

Please sign in to comment.