Skip to content

fix(deps): update aws-sdk-js-v3 monorepo #885

fix(deps): update aws-sdk-js-v3 monorepo

fix(deps): update aws-sdk-js-v3 monorepo #885

Workflow file for this run

name: List API
on:
pull_request:
paths:
- 'infrastructure/list-api/**'
- 'packages/**'
- 'docker-compose.yml'
- 'servers/list-api/**'
- 'pnpm-lock.yaml'
- 'Dockerfile'
- '.github/actions/**'
- '.github/workflows/list-api.yml'
- '.github/workflows/reuse-*.yml'
push:
branches:
- main
- dev
paths:
- 'infrastructure/list-api/**'
- 'packages/**'
- 'servers/list-api/**'
- 'pnpm-lock.yaml'
- 'Dockerfile'
- '.github/actions/**'
- '.github/workflows/list-api.yml'
- '.github/workflows/reuse-*.yml'
jobs:
test-integrations:
if: github.event_name == 'pull_request'
uses: ./.github/workflows/reuse-test-integrations.yml
with:
scope: list-api
secrets: inherit
apollo:
uses: ./.github/workflows/reuse-apollo-federation.yml
with:
federated-graph-name: pocket-client-api
graph-name: list
schema-file-path: servers/list-api/dist/schema-generated.graphql
prod-graph-url: https://list-api.readitlater.com
dev-graph-url: https://list-api.getpocket.dev
scope: list-api
secrets:
apollo-key: ${{ secrets.APOLLO_CLIENT_API_KEY }}
infrastructure:
uses: ./.github/workflows/reuse-infrastructure.yml
with:
scope: list-api-cdk
stack-output-path: infrastructure/list-api/cdktf.out/stacks/list-api
secrets: inherit
api:
uses: ./.github/workflows/reuse-build-and-push-image.yml
needs: [infrastructure]
with:
scope: list-api
app-path: servers/list-api
app-port: 4005
sentry-project: list-api
docker-repo-name-pattern: listapi-{0}-app
terraform-output: ${{needs.infrastructure.outputs.terraform-output}}
secrets: inherit
sentry:
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main'
uses: ./.github/workflows/reuse-sentry-release.yml
needs: [api]
with:
sentry-project: list-api
sentry-environment: ${{ github.ref == 'refs/heads/main' && 'production' || 'development' }}
secrets: inherit