Skip to content

Commit

Permalink
Add getting-started-test-pipeline.yml (#1091)
Browse files Browse the repository at this point in the history
* feat: Add Getting Started Test to the pipeline
  • Loading branch information
ansabgillani authored May 30, 2024
1 parent 358d42e commit c7e91b3
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test-getting-started.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Test the getting start steps

# run CI on pushes to main, and on all PRs.

on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
getting_started:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Creating Your Dapp From a Template
run: yarn create @agoric/dapp demo
- name: Install dependencies
run: |
cd demo
yarn install
- name: Start the Docker container
run: |
cd demo
yarn start:docker
- name: Wait for Docker container to be ready
run: |
cd demo
yarn runWaitForBlocks
- name: yarn start:contract
run: |
cd demo
yarn start:contract
- name: verify contracts started onchain
run: |
curl http://localhost:1317/agoric/vstorage/data/published.agoricNames.instance | grep offerUp

0 comments on commit c7e91b3

Please sign in to comment.