Skip to content

Commit

Permalink
fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusDesk committed Nov 15, 2024
1 parent affdbef commit 6bc8202
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@ name: Build
on: [push, pull_request]

jobs:
ts-lint-and-build-squid:
codegen-and-build-indexers:
runs-on: ubuntu-latest
defaults:
run:
working-directory: indexers/squid-blockexplorer
name: Run eslint, check typescript and run tests
working-directory: indexers
name: Run codegen and build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm ci --legacy-peer-deps
- run: npm test
- run: npm run lint
- run: npm run build
- run: yarn install
- run: yarn codegen
- run: yarn build
ts-lint-and-build-explorer:
runs-on: ubuntu-latest
defaults:
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/gh-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,10 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}

- name: Build processor image
run: docker build . --target processor -t squid-processor --tag $PROCESSOR_NAME
working-directory: indexers/squid-blockexplorer

- name: Build API server image
run: docker build . --target query-node -t graphql-server --tag $API_SERVER_NAME
working-directory: indexers/squid-blockexplorer

- name: Build Health check image
run: docker build . --file Dockerfile --tag $HEALTH_CHECK_NAME
working-directory: health-check

- name: Push processor image
run: docker push $PROCESSOR_NAME

- name: Push API server image
run: docker push $API_SERVER_NAME

- name: Push Health check image
run: docker push $HEALTH_CHECK_NAME

0 comments on commit 6bc8202

Please sign in to comment.