Skip to content

Commit 9113304

Browse files
authored
fix(build): move to trusted publishing (#2631)
1 parent f2b5c17 commit 9113304

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
contents: read
1010
id-token: write
1111
steps:
12-
- name: Setup Node.js 22
13-
uses: actions/setup-node@v4
12+
- name: Setup Node.js 24
13+
uses: actions/setup-node@v5
1414
with:
15-
node-version: 22
15+
node-version: 24
1616
registry-url: https://registry.npmjs.org/
1717
- name: Checkout Repository
1818
uses: actions/checkout@v4
@@ -21,6 +21,4 @@ jobs:
2121
- name: Run Tests
2222
run: npm test
2323
- name: Publish Package to NPM Registry
24-
run: npm publish --provenance
25-
env:
26-
NODE_AUTH_TOKEN: ${{secrets.NPM_SECRET}}
24+
run: npm publish

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 13.15.23
2+
3+
### Fixes, New Locales and Enhancements
4+
5+
- **Doc fixes and others:**
6+
- [#2631](https://github.com/validatorjs/validator.js/pull/2631) @WikiRik
7+
8+
19
# 13.15.22
210

311
### Fixes, New Locales and Enhancements

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "validator",
33
"description": "String validation and sanitization",
4-
"version": "13.15.22",
4+
"version": "13.15.23",
55
"sideEffects": false,
66
"homepage": "https://github.com/validatorjs/validator.js",
77
"files": [

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ import isStrongPassword from './lib/isStrongPassword';
130130

131131
import isVAT from './lib/isVAT';
132132

133-
const version = '13.15.22';
133+
const version = '13.15.23';
134134

135135
const validator = {
136136
version,

0 commit comments

Comments
 (0)