Skip to content

chore: move to wopjs #6

chore: move to wopjs

chore: move to wopjs #6

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