Skip to content

fix: Avoid unintentional breaks in the Markdown list documenting InvitationSpec #643

fix: Avoid unintentional breaks in the Markdown list documenting InvitationSpec

fix: Avoid unintentional breaks in the Markdown list documenting InvitationSpec #643

name: Test the getting start steps
# run CI on pushes to main, and on all PRs.
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
NODE_NEW_VERSION: 'lts/jod'
jobs:
getting_started:
runs-on: ubuntu-latest
strategy:
matrix:
# node-new keeps required job names stable; resolved to NODE_NEW_VERSION.
node-version: ['node-new']
steps:
- name: Resolve Node.js version
id: resolve-node-version
run: |
if [ "${{ matrix.node-version }}" = "node-new" ]; then
echo "node-version=${{ env.NODE_NEW_VERSION }}" >> "$GITHUB_OUTPUT"
else
echo "node-version=${{ matrix.node-version }}" >> "$GITHUB_OUTPUT"
fi
- name: Use Node.js ${{ steps.resolve-node-version.outputs.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ steps.resolve-node-version.outputs.node-version }}
- name: Creating Your Dapp From a Template
run: yarn create @agoric/dapp offer-up
- name: Install dependencies
env:
PUPPETEER_SKIP_DOWNLOAD: '1'
CYPRESS_INSTALL_BINARY: '0'
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