Skip to content

Merge pull request #6 from swan-io/update-connections #67

Merge pull request #6 from swan-io/update-connections

Merge pull request #6 from swan-io/update-connections #67

Workflow file for this run

name: Build & test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- run: yarn install --pure-lockfile
- run: yarn prepack
- name: Build docs
run: cd docs && yarn && yarn build
- name: Deploy
if: "contains('refs/heads/main', github.ref)"
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build