Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

feat: message pagination, minor fixes #46

feat: message pagination, minor fixes

feat: message pagination, minor fixes #46

Workflow file for this run

name: Push workflow
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- uses: pnpm/action-setup@v2
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Pnpm install
run: pnpm i
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage/lcov.info