Skip to content

Commit fbc12ad

Browse files
committed
use ncc to build single file dist
Rather than including node_modules in the repository, build a single file containing everything needed using @vercel/ncc. The file can be rebuilt using npm run build.
1 parent 4cbe40d commit fbc12ad

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ outputs:
1414
description: "JSON containing list of perl versions"
1515
runs:
1616
using: node20
17-
main: perl-versions.js
17+
main: index.js
File renamed without changes.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,11 @@
33
"@actions/core": "^1.10.0",
44
"@actions/github": "^5.1.1",
55
"semver": "^7.5.4"
6+
},
7+
"devDependencies": {
8+
"@eslint/js": "^9.0.0",
9+
"@vercel/ncc": "^0.34.0",
10+
"eslint": "^9.0.0",
11+
"globals": "^15.0.0"
612
}
713
}

0 commit comments

Comments
 (0)