Skip to content

Merge pull request #144 from ealmansi/dependabot/npm_and_yarn/serverl… #18

Merge pull request #144 from ealmansi/dependabot/npm_and_yarn/serverl…

Merge pull request #144 from ealmansi/dependabot/npm_and_yarn/serverl… #18

---
env:
AWS_ROLE_TO_ASSUME: ${{ secrets.AWS_ROLE_TO_ASSUME }}
AWS_REGION: ${{ secrets.AWS_REGION }}
jobs:
deploy:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ env.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ env.AWS_REGION }}
- run: npm ci
- run: npm run deploy --workspace=graphqlzero-api
on:
push:
branches: ["master"]
paths: [
".github/workflows/graphqlzero-api.yaml",
"apps/graphqlzero-api/**"
]