Skip to content

chore: Generate docs #67

chore: Generate docs

chore: Generate docs #67

Workflow file for this run

name: Build and deploy SDK examples
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.18.1]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8.6.5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: pnpm --filter "contractor" install --ignore-scripts
- run: pnpm --filter "contractor" run build
- run: pnpm install --frozen-lockfile
- run: pnpm --filter "!colony-js" run build
- run: pnpm --filter "sdk" run build-examples
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages # The branch the action should deploy to.
clean: true
folder: packages/sdk/examples/browser/web # The folder the action should deploy.