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.
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 "Release $TAG successfully."
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
@@ -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;
@@ -27,7 +27,7 @@ export function getOctokit(githubToken) {
27
27
  },
28
28
  },
29
29
  retry: {
30
- doNotRetry: ['429'],
30
+ doNotRetry: [429],
31
31
  },
32
32
  }));
33
33
  octokit.graphql = octokit.graphql.defaults({
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "node-package-release-action",
3
- "version": "2.3.11",
4
- "description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
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 && yarn tsc",
10
- "bundle": "rm -rf bundle && yarn ncc build src/index.ts --source-map --license licenses.txt --out 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.0.2",
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.0.0",
47
+ "lint-staged": "^16.3.2",
47
48
  "pinst": "^3.0.0",
48
49
  "prettier": "^3.0.2",
49
50
  "typescript": "^5.6.3",