Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/sagely1/Agora into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sagely1 committed Dec 4, 2023
2 parents 87399da + fa8f77a commit 93a99d0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# Allow OIDC Integration (so we can assume the AWS role to deploy)
# permissions:
Expand All @@ -34,6 +34,24 @@ jobs:
- run: npm run build --if-present
- run: npm test

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: "us-east-1"
role-to-assume: "arn:aws:iam::607346494281:role/ci-service-access-ServiceRole-1T4E6LVQRIRIV"
role-session-name: GitHubActions-${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
role-duration-seconds: 1200
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v4
# with:
Expand Down
2 changes: 1 addition & 1 deletion src/server/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if (
],
{ region: 'us-east-1' }
);

if (results && results.Parameters) {
database.url =
'mongodb://' +
Expand Down

0 comments on commit 93a99d0

Please sign in to comment.