Skip to content

Fix: Drop extra digit from 12 hour formatting #50

Fix: Drop extra digit from 12 hour formatting

Fix: Drop extra digit from 12 hour formatting #50

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
timezone: [UTC, America/Los_Angeles, Europe/Berlin, Australia/Sydney]
steps:
- uses: actions/checkout@v4
- name: Node 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Write .npmrc file
run: |
echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} > $HOME/.npmrc
echo @rundown-studio:registry=https://npm.pkg.github.com >> $HOME/.npmrc
- name: Install Dependencies
run: npm ci --loglevel=error
- name: Compile Typescript
run: npm run build
- name: Run Tests
run: npm run test:ci 2>&1 | tee $GITHUB_STEP_SUMMARY; exit ${PIPESTATUS[0]}
env:
TZ: ${{ matrix.timezone }}
NODE_OPTIONS: --experimental-vm-modules