Skip to content

Commit

Permalink
Launch vscode
Browse files Browse the repository at this point in the history
Signed-off-by: Shveta Sachdeva <[email protected]>
  • Loading branch information
sshveta committed Jan 28, 2025
1 parent e4ad27f commit 2f8bd42
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/windows-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ name: (Windows)(nonadmin) Run Playwright tests nightly on main branch

on: push
jobs:
# start-ec2-instance:
# uses: ./.github/workflows/provision-runner.yml
# with:
# ec2-image-id: ami-0cf05b9bbda99aed3
# ec2-instance-type: t2.micro
# security-group-id: sg-0a3e6b53e86d0e69d
# subnet-id: subnet-06113672589e7e836
# ec2-os-type: windows
# secrets:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# github-token: ${{ secrets.GH_RUNNER_API_TOKEN }}
# nonadmin-password: ${{ secrets.NONADMIN_PASSWORD }}
start-ec2-instance:
uses: ./.github/workflows/provision-runner.yml
with:
ec2-image-id: ami-0cf05b9bbda99aed3
ec2-instance-type: t2.micro
security-group-id: sg-0a3e6b53e86d0e69d
subnet-id: subnet-06113672589e7e836
ec2-os-type: windows
secrets:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
github-token: ${{ secrets.GH_RUNNER_API_TOKEN }}
nonadmin-password: ${{ secrets.NONADMIN_PASSWORD }}

install-requirements-as-admin:
# needs: start-ec2-instance
runs-on: l4q7l
needs: start-ec2-instance
runs-on: ${{ needs.start-ec2-instance.outputs.instance_label }}
steps:
- name: Install Node.js
run: choco install nodejs -y
Expand All @@ -43,7 +43,7 @@ jobs:
Get-Process -Name "Code" -ErrorAction SilentlyContinue | ForEach-Object { $_.CloseMainWindow() } | Out-Null
run-test-as-nonadmin:
needs: [ install-requirements-as-admin]
needs: [ start-ec2-instance, install-requirements-as-admin]
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 2f8bd42

Please sign in to comment.