Skip to content

Merge pull request #270 from permafrost-dev/remove-dayjs-dep #611

Merge pull request #270 from permafrost-dev/remove-dayjs-dep

Merge pull request #270 from permafrost-dev/remove-dayjs-dep #611

Workflow file for this run

name: run-tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
node-version: [18, 20]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Run the tests with coverage
run: bun run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage