Skip to content

Commit

Permalink
fix: test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
frytg committed Nov 27, 2024
1 parent 165f31e commit c70f6bb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,10 @@ jobs:
- name: Set up package.json
run: 'echo ''{ "type": "module" }'' > package.json'

- name: Test
run: npx --yes tsx --test **/*.test.ts
- name: Test (Windows)
if: matrix.os == 'windows-latest'
run: npx --yes tsx --test "**\*.test.ts"

- name: Test (Linux/macOS)
if: matrix.os != 'windows-latest'
run: npx --yes tsx --test "**/*.test.ts"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Utility packages

[![JSR @frytg](https://jsr.io/badges/@frytg)](https://jsr.io/@frytg)
[![ci](https://github.com/frytg/utility/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/frytg/utility/actions/workflows/test.yml)
[![Linted with Biome](https://img.shields.io/badge/Linted_with-Biome-60a5fa?style=flat&logo=biome)](https://biomejs.dev)

A collection of utilities for TypeScript and JavaScript.
Expand Down
1 change: 1 addition & 0 deletions check-required-env/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Check a required environment variable

[![JSR @frytg/check-required-env](https://jsr.io/badges/@frytg/check-required-env)](https://jsr.io/@frytg/check-required-env)
[![ci](https://github.com/frytg/utility/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/frytg/utility/actions/workflows/test.yml)

Simply check if a certain required environment variable is set. If not, throw an error and exit the process.

Expand Down
1 change: 1 addition & 0 deletions dates/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Date utilities

[![JSR @frytg/dates](https://jsr.io/badges/@frytg/dates)](https://jsr.io/@frytg/dates)
[![ci](https://github.com/frytg/utility/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/frytg/utility/actions/workflows/test.yml)

This is a simple opinionated wrapper around the [Luxon](https://github.com/moment/luxon) library to provide pre-configured helpers.

Expand Down
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true
},
"exclude": [".git", ".github"],
"exclude": [".git", ".github", "vendor"],
"fmt": {
"useTabs": true,
"lineWidth": 120,
Expand Down
1 change: 1 addition & 0 deletions logger/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Winston logging wrapper

[![JSR @frytg/logger](https://jsr.io/badges/@frytg/logger)](https://jsr.io/@frytg/logger)
[![ci](https://github.com/frytg/utility/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/frytg/utility/actions/workflows/test.yml)

This is a simple opinionated wrapper around the logging library [Winston](https://github.com/winstonjs/winston) to provide a logger
that is easy to use and configure.
Expand Down

0 comments on commit c70f6bb

Please sign in to comment.