chore: bump version to v0.2.1
#9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π Publish documentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
concurrency: | |
group: 'pages' | |
cancel-in-progress: false | |
jobs: | |
docs: | |
name: π Publish documentation | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: π₯ Checkout code | |
uses: actions/checkout@v4 | |
- name: π¦ Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: π οΈ Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'latest' | |
cache: 'pnpm' | |
- name: β‘ Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: π¨ Build library and docs | |
run: pnpm build | |
- name: βοΈ Configure pages | |
uses: actions/configure-pages@v4 | |
- name: π‘ Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: docs | |
- name: βοΈ Publish documentation | |
id: deployment | |
uses: actions/deploy-pages@v4 |