Bump next from 16.0.6 to 16.0.7 #222
Workflow file for this run
This file contains hidden or 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 | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| env: | |
| OIDC_IAM_ROLE_ARN: ${{ secrets.OIDC_IAM_ROLE_ARN }} | |
| AWS_REGION: us-west-2 | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| deploy: | |
| # 同時実行すると CREATE_IN_PROGRESS や UPDATE_IN_PROGRESS 状態で cdk deploy を行う可能性があるため抑止する | |
| concurrency: | |
| group: "aws-mcp-lambda-server" | |
| cancel-in-progress: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Configure AWS Credentials | |
| uses: aws-actions/configure-aws-credentials@v5 | |
| with: | |
| role-to-assume: ${{ env.OIDC_IAM_ROLE_ARN }} | |
| role-session-name: GitHubActions | |
| aws-region: ${{ env.AWS_REGION }} | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| check-latest: true | |
| package-manager-cache: false | |
| - uses: pnpm/action-setup@v4 | |
| name: Install pnpm | |
| with: | |
| run_install: | | |
| - recursive: true | |
| args: [--no-frozen-lockfile] | |
| - args: [--global, aws-cdk, esbuild] | |
| - name: deploy | |
| working-directory: ./platform | |
| run: | | |
| npx cdk deploy --require-approval=never --all |