node-package-release-action 2.3.11 → 2.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/README.md +12 -1
- package/dist/getAllGitTags.js +1 -1
- package/dist/getOctokit.js +1 -1
- package/package.json +7 -6
|
Binary file
|
package/.yarnrc.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodeLinker: node-modules
|
package/README.md
CHANGED
|
@@ -42,8 +42,19 @@ jobs:
|
|
|
42
42
|
then
|
|
43
43
|
echo 'Release is skipped.'
|
|
44
44
|
else
|
|
45
|
-
echo "
|
|
45
|
+
echo "Released $TAG successfully."
|
|
46
46
|
fi
|
|
47
|
+
|
|
48
|
+
- uses: actions/setup-node@v6
|
|
49
|
+
with:
|
|
50
|
+
node-version: '24'
|
|
51
|
+
check-latest: true
|
|
52
|
+
registry-url: https://registry.npmjs.org/
|
|
53
|
+
|
|
54
|
+
- name: Publish
|
|
55
|
+
if: ${{ steps.release.outputs.skipped != 'true' }}
|
|
56
|
+
run: |
|
|
57
|
+
npm publish
|
|
47
58
|
```
|
|
48
59
|
|
|
49
60
|
## Options
|
package/dist/getAllGitTags.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getExecOutput } from '@actions/exec';
|
|
2
2
|
import { valid } from 'semver';
|
|
3
3
|
export async function getAllGitTags() {
|
|
4
|
-
const tagOutput = await getExecOutput('git', ['tag']);
|
|
4
|
+
const tagOutput = await getExecOutput('git', ['tag'], { silent: true });
|
|
5
5
|
const allTags = tagOutput.stdout.split('\n');
|
|
6
6
|
const versionTags = allTags.filter((tag) => valid(tag));
|
|
7
7
|
return versionTags;
|
package/dist/getOctokit.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-package-release-action",
|
|
3
|
-
"version": "2.3.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.3.13",
|
|
4
|
+
"description": "This GitHub Action automates Node package version bumps and GitHub releases.",
|
|
5
|
+
"packageManager": "yarn@4.13.0",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.js",
|
|
7
8
|
"type": "module",
|
|
8
9
|
"scripts": {
|
|
9
|
-
"build": "rm -rf dist &&
|
|
10
|
-
"bundle": "rm -rf bundle &&
|
|
10
|
+
"build": "rm -rf dist && tsc",
|
|
11
|
+
"bundle": "rm -rf bundle && ncc build src/index.ts --source-map --license licenses.txt --out bundle",
|
|
11
12
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
13
|
"lint": "eslint -c eslint.config.js",
|
|
13
14
|
"prepublishOnly": "pinst --disable && yarn build",
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
"@octokit/webhooks-types": "^7.6.1",
|
|
34
35
|
"@serverless-guru/prettier-plugin-import-order": "^0.4.1",
|
|
35
36
|
"@types/glob": "^9.0.0",
|
|
36
|
-
"@types/node": "^25.
|
|
37
|
+
"@types/node": "^25.3.5",
|
|
37
38
|
"@types/semver": "^7.3.13",
|
|
38
39
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
39
40
|
"@typescript-eslint/parser": "^8.0.0",
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"eslint-plugin-prettier": "5",
|
|
44
45
|
"husky": "^9.0.11",
|
|
45
46
|
"is-ci": "^4.1.0",
|
|
46
|
-
"lint-staged": "^16.
|
|
47
|
+
"lint-staged": "^16.3.2",
|
|
47
48
|
"pinst": "^3.0.0",
|
|
48
49
|
"prettier": "^3.0.2",
|
|
49
50
|
"typescript": "^5.6.3",
|