Skip to content

chore(deps): bump js-yaml in /docs #11

chore(deps): bump js-yaml in /docs

chore(deps): bump js-yaml in /docs #11

Workflow file for this run

name: Docci E2E (docs)
on:
# push:
# branches:
# - main
pull_request:
workflow_dispatch:
# Ensures that only a single workflow per PR will run at a time. Cancels in-progress jobs if new commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
GO_VERSION: 1.23.0
jobs:
run:
runs-on: ubuntu-latest
env:
DEBUGGING: true
RUST_BACKTRACE: 1
steps:
- id: go-cache-paths
run: |
echo "::set-output name=go-build::$(go env GOCACHE)"
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Ubuntu packages
run: sudo apt-get update && sudo apt-get install bash make jq
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
# Cache go mod cache, used to speedup builds
- name: Go Mod Cache
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-mod }}
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
# Cache go build cache, used to speedup go test
- name: Go Build Cache
uses: actions/cache@v4
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- name: Install Docci Readme Runner
run: |
VERSION=v0.9.2-alpha.1
wget -O docci.tar.gz "https://github.com/Reecepbcups/docci/releases/download/${VERSION}/docci_Linux_x86_64.tar.gz"
tar -xzf docci.tar.gz
sudo mv docci /usr/local/bin/docci
sudo chmod +x /usr/local/bin/docci
rm docci.tar.gz
- name: setup & install spawn
run: docci run docs/versioned_docs/version-v0.50.x/01-setup/docci_config.json
# since this is not run within the 'rollchain' directory, it runs standalone before (this generates the rollchain dir)
- name: builds chain
run: docci run docs/versioned_docs/version-v0.50.x/02-build-your-application/01-nameservice.md
- name: run application
run: |
docci run docs/versioned_docs/version-v0.50.x/02-build-your-application/docci_config.json \
--hide-background-logs --working-dir rollchain \
--cleanup-commands="killall rolld" --cleanup-commands="rm -rf rollchain"