From 9113304819ae2627c1b7e9c5994a76f60efbe0b6 Mon Sep 17 00:00:00 2001 From: Rik Smale <13023439+WikiRik@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:47:34 +0100 Subject: [PATCH] fix(build): move to trusted publishing (#2631) --- .github/workflows/npm-publish.yml | 10 ++++------ CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/index.js | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 008a86ce6..c159e11eb 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -9,10 +9,10 @@ jobs: contents: read id-token: write steps: - - name: Setup Node.js 22 - uses: actions/setup-node@v4 + - name: Setup Node.js 24 + uses: actions/setup-node@v5 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org/ - name: Checkout Repository uses: actions/checkout@v4 @@ -21,6 +21,4 @@ jobs: - name: Run Tests run: npm test - name: Publish Package to NPM Registry - run: npm publish --provenance - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_SECRET}} + run: npm publish diff --git a/CHANGELOG.md b/CHANGELOG.md index 4973389bf..033d8339c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 13.15.23 + +### Fixes, New Locales and Enhancements + +- **Doc fixes and others:** + - [#2631](https://github.com/validatorjs/validator.js/pull/2631) @WikiRik + + # 13.15.22 ### Fixes, New Locales and Enhancements diff --git a/package.json b/package.json index aa019c56b..9474766f2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "validator", "description": "String validation and sanitization", - "version": "13.15.22", + "version": "13.15.23", "sideEffects": false, "homepage": "https://github.com/validatorjs/validator.js", "files": [ diff --git a/src/index.js b/src/index.js index 839fe21ea..ccbcc4188 100644 --- a/src/index.js +++ b/src/index.js @@ -130,7 +130,7 @@ import isStrongPassword from './lib/isStrongPassword'; import isVAT from './lib/isVAT'; -const version = '13.15.22'; +const version = '13.15.23'; const validator = { version,