Skip to content

Maintain correct AM/PM value when changing hours in hour12 mode #89

Maintain correct AM/PM value when changing hours in hour12 mode

Maintain correct AM/PM value when changing hours in hour12 mode #89

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 9
run_install: false
- name: Get pnpm store directory
id: pnpm-store
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Use pnpm store
uses: actions/cache@v3
id: pnpm-cache
with:
path: ${{ steps.pnpm-store.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install Dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- name: Run test
run: pnpm --filter timescape -- test run --coverage.enabled=true --coverage.reporter=text