Skip to content

docs: state that adopting service discoverability opts an app in to ICP MCP #674

docs: state that adopting service discoverability opts an app in to ICP MCP

docs: state that adopting service discoverability opts an app in to ICP MCP #674

Workflow file for this run

name: Build check
on:
pull_request:
jobs:
build:
# Runs wherever preview-deployment.yml cannot. Fork PRs and Dependabot PRs
# both get a read-only GITHUB_TOKEN with no access to secrets, so the
# preview deploy fails on them; this plain build is their only check.
if: >-
github.event.pull_request.head.repo.full_name != github.repository ||
github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
# Same set as preview-deployment.yml. .sources/motoko is required: pages
# under docs/languages/motoko/ pull code via `file=<motokoExamples>/...`
# includes, and without the submodule they render empty without failing
# the build.
- name: Initialize submodules
run: |
git config --global url."https://github.com/".insteadOf "git@github.com:"
git submodule update --init --depth 1 .sources/examples .sources/motoko
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build