Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getting-started-test-pipeline.yml #1091

Merged
merged 9 commits into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
ansabgillani marked this conversation as resolved.
Show resolved Hide resolved
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
ansabgillani marked this conversation as resolved.
Show resolved Hide resolved
Loading