chore: update tsup #21
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: 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 | |
- uses: actions/setup-node@v4 | |
with: | |
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: Coveralls π | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Docs π | |
run: | | |
pnpm run docs | |
- name: Deploy π | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: gh-pages | |
folder: docs |