Bump @architect/plugin-lambda-invoker from 1.0.1 to 1.1.0 #1021
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: Deploy to AWS | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
deploy: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- env: dev | |
url: https://dev.gcn.nasa.gov | |
- env: test | |
url: https://test.gcn.nasa.gov | |
- env: prod | |
url: https://gcn.nasa.gov | |
environment: | |
name: ${{ matrix.env }} | |
url: ${{ matrix.url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: NPM Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Configure aws credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
role-to-assume: ${{ secrets.AWS_IAM_ROLE }} | |
aws-region: us-east-1 | |
- name: Deploy | |
run: npm run deploy |