Skip to content

bump version to 0.2.1 #19

bump version to 0.2.1

bump version to 0.2.1 #19

Workflow file for this run

name: Docs
on:
push:
branches: [main]
jobs:
all:
name: all
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2.3.0
with:
node-version: 16
registry-url: https://registry.npmjs.org
# cache: pnpm
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Pnpm install
uses: pnpm/action-setup@v2.0.1
with:
version: 6.10.3
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- args: [--global, typedoc, typescript]
- name: Generate documentation
run: pnpm run doc
- name: Publish Docs
run: |
set -x
git config user.name "Peter Hillerström"
git config user.email "peter.hillerstrom@gmail.com"
git add -f docs
git status
git commit -m "Update docs"
git subtree split --prefix docs --branch gh-pages
git push --force origin gh-pages:gh-pages