Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/lint-test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Lint, Test & Build

on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
lint-test-build:
name: Lint, Test & Build
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 24.11.1
cache: "npm"
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Unit Tests
run: npx vitest run
- name: Build
run: npm run build
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ jobs:

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2
with:
publish: npm run release
commit: "chore: 🔖 release new versions"
title: "chore: 🔖 release new versions"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-script: npm run release
commit-message: "chore: 🔖 release new versions"
pr-title: "chore: 🔖 release new versions"
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# openapi-sampler

## 1.7.8

### Patch Changes

- 35ee280: Fixed a regression from 1.7.7: a `$ref` inside `allOf` was sampled as `null`, and `skipReadOnly`/`skipWriteOnly` ignored a `$ref` inside `oneOf` or `anyOf`.

## 1.7.7

### Patch Changes

- e96c77e: Fixed an issue where keywords next to `$ref` (such as `example`, `examples`, `minimum`) were ignored. They are now applied unless the document is Swagger 2.0 or OpenAPI 3.0.

## 1.7.6

### Patch Changes
Expand Down
15 changes: 0 additions & 15 deletions jest.config.js

This file was deleted.

Loading