Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Change release-please to prerelease for v12 (#5539)

Mark Wiemer29c3423f53f6
diff --git a/.github/release-please/config.json b/.github/release-please/config.json
index 2dcade99..e7e3ae75 100644
--- a/.github/release-please/config.json
+++ b/.github/release-please/config.json
@@ -3,6 +3,9 @@
"release-type": "node",
"include-component-in-tag": false,
+ "prerelease": true,
+ "versioning": "prerelease",
+
"changelog-sections": [
{ "type": "feat", "section": "🌟 Features", "hidden": false },
{ "type": "fix", "section": "🩹 Fixes", "hidden": false },
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
index 116ead60..16a9ae97 100644
--- a/.github/workflows/release-please.yml
+++ b/.github/workflows/release-please.yml
@@ -45,6 +45,6 @@ jobs:
- name: Install dependencies
run: npm ci --ignore-scripts --force --no-fund --no-audit
- - run: npm publish --provenance --access public
+ - run: npm publish --provenance --access public --tag=next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}