Skip to content

Commit

Permalink
reverting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sagely1 committed Dec 7, 2023
1 parent 1b309aa commit b85fa6d
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ name: Node.js CI

on:
push:
branches: [ develop, main ]
branches: [ "develop" ]
pull_request:
branches: [ develop, main ]
branches: [ "develop" ]

jobs:
build:
timeout-minutes: 60


runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 18.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,24 +33,6 @@ 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 All @@ -68,4 +49,4 @@ jobs:
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30
# retention-days: 30

0 comments on commit b85fa6d

Please sign in to comment.