feat(dev-tools): add support for DR bundle methods #52
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: Deploy docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
verify_build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.27 | |
- name: π₯ Install dependencies | |
run: bun install --frozen-lockfile | |
- name: π¨ Build projects | |
run: bun run build | |
- name: π§ͺ Run unit tests | |
run: bun run test | |
- name: π Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: π Create docs | |
run: bun run docs | |
- name: π Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: "./docs" | |
- name: π Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |