Skip to content

Commit 57feaa8

Browse files
chore: add npm min-release-age cooldown (#417)
Sets a 24 hours cooldown on npm packages, excluding @devolutions/* packages and declares the required npm version (>=11.17.0) which is the first npm version that supports cooldown exclusions. --------- Co-authored-by: Richard Boisvert <rboisvert@devolutions.net>
1 parent 9ff3f69 commit 57feaa8

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎.github/workflows/release-others.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ jobs:
131131

132132
- name: Setup Node
133133
if: ${{ inputs.publish_npm }}
134-
uses: actions/setup-node@v4
134+
uses: actions/setup-node@v7
135135
with:
136-
node-version: 24
136+
node-version: '24'
137137
registry-url: https://registry.npmjs.org
138138

139139
- name: Publish NPM Bundler

‎wrappers/wasm/demo/package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,8 @@
4141
"esbuild@0.27.7": true,
4242
"lmdb@3.5.4": true,
4343
"msgpackr-extract@3.0.4": true
44+
},
45+
"engines": {
46+
"npm": ">=11.17.0"
4447
}
4548
}

‎wrappers/wasm/tests/.npmrc‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
min-release-age = 1
2+
min-release-age-exclude[] = "@devolutions/*"

‎wrappers/wasm/tests/package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
"devolutions-crypto": "file:../dist/node/",
2323
"tsx": "^4.19.3",
2424
"typescript": "^5.8.2"
25+
},
26+
"engines": {
27+
"npm": ">=11.17.0"
2528
}
2629
}

0 commit comments

Comments
 (0)