fix: mask client secret in console output (#826) #122
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: JavaScript SDK cluster management integration tests | |
| permissions: {} | |
| on: | |
| workflow_call: {} | |
| workflow_dispatch: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # required by aws-actions/configure-aws-credentials | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22.x" | |
| - name: Configure AWS Credentials | |
| uses: aws-actions/configure-aws-credentials@v6 | |
| with: | |
| role-to-assume: ${{ secrets.JAVASCRIPT_IAM_ROLE }} | |
| aws-region: us-east-1 | |
| - name: Configure and run integration for cluster management | |
| working-directory: ./javascript/cluster_management | |
| run: | | |
| npm ci | |
| npm test | |
| cleanup: | |
| if: always() | |
| needs: test | |
| uses: ./.github/workflows/dsql-cluster-cleanup.yml | |
| with: | |
| run-id: ${{ github.run_id }} | |
| regions: us-east-1 us-east-2 | |
| secrets: | |
| AWS_IAM_ROLE: ${{ secrets.JAVASCRIPT_IAM_ROLE }} | |
| permissions: | |
| id-token: write # required by aws-actions/configure-aws-credentials |