Skip to content

Commit

Permalink
Add support for numberArray and stringOneOfArray
Browse files Browse the repository at this point in the history
  • Loading branch information
carnesen committed May 3, 2024
1 parent 070afed commit ebe6ad7
Show file tree
Hide file tree
Showing 13 changed files with 2,446 additions and 6,104 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 19
- 18
- 16
- 14
name: Node.js ${{ matrix.node-version }}
node-release:
- description: current
version: 22
- description: active
version: 20
- description: maintenance
version: 18
name: Node.js ${{ matrix.node-release.description }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node-release.version }}
- run: npm ci
- run: npm test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Upcoming

Node.js support:
- Dropped: 14, 16
- Maintenance: 18
- Active: 20
- Current: 22

Feature: Add types numberArray and stringOneOfArray

## carnesen-p-env-0.11.0 (2023-02-18)

Feature: Allow config to be provided as `p.env(schema, config)`. Previously config was only providable at instantiation `new MyEnv(config)`. Now if both are provided they are shallow merged with instance config taking priority.
Expand Down
Loading

0 comments on commit ebe6ad7

Please sign in to comment.