Skip to content

ci: update github-pages-deploy-action #5

ci: update github-pages-deploy-action

ci: update github-pages-deploy-action #5

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install pnpm 🤏🏻
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Cache 📦
uses: actions/setup-node@v4
with:
cache: pnpm
- name: Install 🚀
run: |
pnpm install
- name: Lint 🧹
run: |
pnpm run lint
- name: Test 🧪
run: |
pnpm run test:coverage
- name: Build 🔧
run: |
pnpm run build
- name: Coverage 📊
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docs 📖
run: |
pnpm run docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs