Skip to content

refactor: simplify listener type #54

refactor: simplify listener type

refactor: simplify listener type #54

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install pnpm 📦
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies 📦
run: pnpm install
- name: Lint 🧹
run: pnpm run lint
- name: Build 🔧
run: pnpm run build
- name: Test 🧪
run: pnpm run test:coverage
- name: Upload Coverage 📊
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageLocations: ${{github.workspace}}/coverage/clover.xml:clover
- name: Build Docs 📖
run: pnpm run docs
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs