Skip to content

Commit

Permalink
updated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyakhajanchi committed Dec 5, 2023
1 parent 9559c72 commit cca5575
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/integration-tests-against-emulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,22 +148,23 @@ jobs:
- run: gcloud config set api_endpoint_overrides/spanner http://localhost:9020/
- run: gcloud spanner instances create test-instance --config=emulator-config --description="Test Instance" --nodes=1

# run tests
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Start Local Server
run: go run github.com/GoogleCloudPlatform/spanner-migration-tool web &
env:
SPANNER_EMULATOR_HOST: localhost:9010
node-version: 16

- name: Install Dependencies
run: |
cd ui
npm ci
- name: Start Local Server
run: |
cd ui
npm start &
- name: Wait for Local Server to Start
run: npx wait-on http://localhost:8080 -t 30000
run: npx wait-on http://localhost:4200 -t 30000

- name: Cypress run
run: |
Expand Down

0 comments on commit cca5575

Please sign in to comment.