Added logging if transaction is not found #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Automated Orders Scheduler | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "automated-orders/package.json" | |
- "automated-orders/tsconfig.json" | |
- "automated-orders/yarn.lock" | |
- "automated-orders/packages/blockchain-library/**" | |
- "automated-orders/packages/scheduler/**" | |
- "automated-orders/packages/utils-library/**" | |
- "automated-orders/packages/aws-kms-signer/**" | |
tags: | |
- "automated-orders-scheduler/v*" | |
pull_request: | |
paths: | |
- "automated-orders/package.json" | |
- "automated-orders/tsconfig.json" | |
- "automated-orders/yarn.lock" | |
- "automated-orders/packages/blockchain-library/**" | |
- "automated-orders/packages/scheduler/**" | |
- "automated-orders/packages/utils-library/**" | |
- "automated-orders/packages/aws-kms-signer/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: yarn | |
cache-dependency-path: "automated-orders/yarn.lock" | |
- name: Install dependencies | |
run: yarn install | |
working-directory: "automated-orders/" | |
- name: Yarn build | |
working-directory: ./automated-orders | |
run: yarn build | |
build-and-push: | |
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/automated-orders-scheduler/v') | |
needs: [build] | |
uses: ./.github/workflows/build_push.yml | |
with: | |
service_name: automated-orders-scheduler | |
secrets: inherit |