diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33657e9..eadccbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,28 +15,6 @@ jobs: secrets: inherit test: - needs: get-lts - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - node-version: ${{ fromJson(needs.get-lts.outputs.active) }} - fail-fast: false - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - name: Node ${{ matrix.node-version }} on ${{ matrix.os }} - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm test - - get-lts: needs: lint - runs-on: ubuntu-latest - steps: - - id: get - uses: msimerson/node-lts-versions@v1 - outputs: - lts: ${{ steps.get.outputs.lts }} - active: ${{ steps.get.outputs.active }} + uses: NicTool/.github/.github/workflows/test.yml@main + secrets: inherit diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 14abdfe..7a266d6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,11 +1,8 @@ name: publish on: - push: - branches: - - main - paths: - - package.json + release: + types: [published] env: CI: true diff --git a/.release b/.release index e695aa1..d106d83 160000 --- a/.release +++ b/.release @@ -1 +1 @@ -Subproject commit e695aa113e1dbfc5bd93cc60791b2b7eb88cc92d +Subproject commit d106d83e69d5d8c99e4d6be4ba98ddde550d082b diff --git a/CHANGELOG.md b/CHANGELOG.md index 978b02d..f4a1bdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ### Unreleased +### [1.1.7] - 2026-03-13 + +- dep(eslint): update to v10 +- deps: bump all to latest +- ci(test): use shared workflow + ### [1.1.6] - 2025-10-06 - style: add prettier, update eslint to v9 @@ -184,4 +190,5 @@ [1.1.3]: https://github.com/NicTool/dns-zone/releases/tag/1.1.3 [1.1.4]: https://github.com/NicTool/dns-zone/releases/tag/1.1.4 [1.1.5]: https://github.com/NicTool/dns-zone/releases/tag/1.1.5 -[1.1.6]: https://github.com/NicTool/dns-zone/releases/tag/1.1.6 +[1.1.6]: https://github.com/NicTool/dns-zone/releases/tag/v1.1.6 +[1.1.7]: https://github.com/NicTool/dns-zone/releases/tag/v1.1.7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index d6066a7..58fe475 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -2,7 +2,7 @@ This handcrafted artisanal software is brought to you by: -|
msimerson (26) | +|
msimerson (27) | | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | this file is generated by [.release](https://github.com/msimerson/.release). diff --git a/eslint.config.mjs b/eslint.config.mjs index a2265cb..e351d1c 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,16 +1,5 @@ import globals from 'globals' -import path from 'node:path' -import { fileURLToPath } from 'node:url' import js from '@eslint/js' -import { FlatCompat } from '@eslint/eslintrc' - -const __filename = fileURLToPath(import.meta.url) -const __dirname = path.dirname(__filename) -const compat = new FlatCompat({ - baseDirectory: __dirname, - recommendedConfig: js.configs.recommended, - allConfig: js.configs.all, -}) export default [ { diff --git a/package.json b/package.json index 6128f15..9693961 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nictool/dns-zone", - "version": "1.1.6", + "version": "1.1.7", "description": "DNS Zone", "main": "index.js", "type": "module", @@ -43,13 +43,15 @@ }, "homepage": "https://github.com/NicTool/dns-zone#readme", "devDependencies": { - "eslint": "9.37.0", - "mocha": "11.7.4" + "@eslint/js": "^10.0.1", + "eslint": "^10.0.3", + "globals": "^17.4.0", + "mocha": "11.7.5" }, "dependencies": { "command-line-args": "^6.0.1", - "command-line-usage": "^7.0.3", - "@nictool/dns-resource-record": "^1.2.4" + "command-line-usage": "^7.0.4", + "@nictool/dns-resource-record": "^1.3.1" }, "prettier": { "printWidth": 110, @@ -57,4 +59,4 @@ "singleQuote": true, "trailingComma": "all" } -} +} \ No newline at end of file