Mermaid Plugin: Render Inline Mermaid #449
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 offer-up | |
- name: Install dependencies | |
run: | | |
cd offer-up | |
corepack enable | |
yarn install | |
- name: Start the Docker container | |
run: | | |
cd offer-up | |
yarn start:docker | |
- name: Wait for Docker container to be ready | |
run: | | |
cd offer-up | |
yarn runWaitForBlocks | |
- name: yarn start:contract | |
run: | | |
cd offer-up | |
yarn start:contract | |
- name: verify contracts started onchain | |
run: | | |
curl http://localhost:1317/agoric/vstorage/data/published.agoricNames.instance | grep offerUp |