Skip to content

Commit

Permalink
chore: switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
birtles committed Nov 7, 2024
1 parent d15119c commit cbb306b
Show file tree
Hide file tree
Showing 4 changed files with 4,246 additions and 3,637 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,22 @@ jobs:
name: Test

steps:
- uses: actions/[email protected]
- uses: actions/[email protected]

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- uses: actions/[email protected]
with:
node-version: 18
cache: yarn
node-version: 20
cache: pnpm

- name: Build
run: |
yarn install
yarn build
pnpm install
pnpm build
- name: Unit tests
run: yarn test
run: pnpm test
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type SchemaType = Infer<typeof schema>;

Using `discriminator()` you get errors like:

` At path: value.name -- Expected a string with a length between ``0``and ``256`` but received one with a length of ``257`` `.
`At path: value.name -- Expected a string with a length between ``0``and ``256`` but received one with a length of ``257`` `.

- Better semantics.
- Easier translation to and from [JSON typedef](https://jsontypedef.com/) should
Expand Down Expand Up @@ -112,17 +112,17 @@ discriminator('result', {
### Building

```
yarn build
pnpm build
```

### Testing

```
yarn test
pnpm test
```

### Releasing

```
yarn release-it
pnpm release-it
```
Loading

0 comments on commit cbb306b

Please sign in to comment.