Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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
30 changes: 30 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
changelog:
exclude:
labels:
- 'Type: Meta'
- 'Type: Question'
- 'Type: Release'

categories:
- title: Security Fixes
labels: ['Type: Security']
- title: Breaking Changes
labels: ['Type: Breaking Change']
- title: Features
labels: ['Type: Feature']
- title: Bug Fixes
labels: ['Type: Bug']
- title: Documentation
labels: ['Type: Documentation']
- title: Refactoring
labels: ['Type: Refactoring']
- title: Testing
labels: ['Type: Testing']
- title: Maintenance
labels: ['Type: Maintenance']
- title: CI
labels: ['Type: CI']
- title: Dependency Updates
labels: ['Type: Dependencies', "dependencies"]
- title: Other Changes
labels: ['*']
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,22 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [ 18, 20, 22 ]
node-version: [ 20, 22, 24 ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Install pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install
- uses: nick-fields/retry@v2
run: pnpm install
- uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
with:
timeout_minutes: 10
max_attempts: 3
command: yarn test
command: pnpm test
32 changes: 19 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build": "textlint-scripts build",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks",
"prepublish": "yarn run --if-present build",
"prepublish": "pnpm run --if-present build",
"test": "npm run type-check && textlint-scripts test",
"type-check": "tsc --noEmit",
"watch": "textlint-scripts build --watch"
Expand All @@ -46,29 +46,35 @@
"node-fetch": "^2.6.0",
"p-memoize": "^3.1.0",
"p-queue": "^6.2.0",
"textlint-rule-helper": "^2.2.2"
"textlint-rule-helper": "^2.2.4"
},
"devDependencies": {
"@textlint/ast-node-types": "^12.2.2",
"@textlint/types": "^12.2.2",
"@textlint/ast-node-types": "^12.6.1",
"@textlint/types": "^12.6.1",
"@types/minimatch": "^5.1.2",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.7",
"@types/node": "^24.3.0",
"@types/node-fetch": "^2.6.2",
"lint-staged": "^13.0.3",
"mocha": "^10.1.0",
"prettier": "^2.7.1",
"textlint": "^12.2.2",
"textlint-scripts": "^12.2.2",
"textlint-tester": "^12.2.2",
"lint-staged": "^16.1.5",
"mocha": "^11.7.1",
"prettier": "^3.6.2",
"textlint": "^12.6.1",
"textlint-scripts": "^12.6.1",
"textlint-tester": "^12.6.1",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"typescript": "^4.8.4"
"typescript": "^5.9.2"
},
"packageManager": "[email protected]",
"packageManager": "[email protected]+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748",
"engines": {
"node": ">=4"
},
"pnpm": {
"overrides": {
"@textlint/ast-node-types": "^12.6.1",
"@textlint/types": "^12.6.1"
}
},
"peerDependencies": {
"textlint": ">= 12.2.0"
},
Expand Down
Loading
Loading