From 409f80e404800f19aab298efe9a1fcaa15dfa53e Mon Sep 17 00:00:00 2001 From: Simon McAllister Date: Tue, 19 Mar 2024 23:24:25 +0000 Subject: [PATCH] update test workflow with new github action secrets --- .github/workflows/test.yml | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d9ef046..57f9532 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,11 +24,28 @@ jobs: - run: npm run build - run: npm run test env: - AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} - AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} - INT_TEST_USERNAME: ${{secrets.INT_TEST_USERNAME}} - INT_TEST_PASSWORD: ${{secrets.INT_TEST_PASSWORD}} - INT_TEST_POOL_ID: ${{secrets.INT_TEST_POOL_ID}} - INT_TEST_CLIENT_ID: ${{secrets.INT_TEST_CLIENT_ID}} - INT_TEST_SECRET_ID: ${{secrets.INT_TEST_SECRET_ID}} - INT_TEST_AWS_REGION: ${{secrets.INT_TEST_AWS_REGION}} + # Credentials + AWS_REGION: ${{ secrets.AWS_REGION }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + + # Username + INT_TEST__USERNAME__USERNAME: ${{ secrets.INT_TEST__USERNAME__USERNAME }} + INT_TEST__USERNAME__PASSWORD: ${{ secrets.INT_TEST__USERNAME__PASSWORD }} + INT_TEST__USERNAME__POOL_ID: ${{ secrets.INT_TEST__USERNAME__POOL_ID }} + INT_TEST__USERNAME__CLIENT_ID: ${{ secrets.INT_TEST__USERNAME__CLIENT_ID }} + INT_TEST__USERNAME__SECRET_ID: ${{ secrets.INT_TEST__USERNAME__SECRET_ID }} + + # Email + INT_TEST__EMAIL__USERNAME: ${{ secrets.INT_TEST__EMAIL__USERNAME }} + INT_TEST__EMAIL__PASSWORD: ${{ secrets.INT_TEST__EMAIL__PASSWORD }} + INT_TEST__EMAIL__POOL_ID: ${{ secrets.INT_TEST__EMAIL__POOL_ID }} + INT_TEST__EMAIL__CLIENT_ID: ${{ secrets.INT_TEST__EMAIL__CLIENT_ID }} + INT_TEST__EMAIL__SECRET_ID: ${{ secrets.INT_TEST__EMAIL__SECRET_ID }} + + # Phone + INT_TEST__PHONE__USERNAME: ${{ secrets.INT_TEST__PHONE__USERNAME }} + INT_TEST__PHONE__PASSWORD: ${{ secrets.INT_TEST__PHONE__PASSWORD }} + INT_TEST__PHONE__POOL_ID: ${{ secrets.INT_TEST__PHONE__POOL_ID }} + INT_TEST__PHONE__CLIENT_ID: ${{ secrets.INT_TEST__PHONE__CLIENT_ID }} + INT_TEST__PHONE__SECRET_ID: ${{ secrets.INT_TEST__PHONE__SECRET_ID }}