Bundling ncc.
This commit is contained in:
@@ -25,11 +25,8 @@ jobs:
|
||||
- run: npm ci
|
||||
|
||||
# 4️⃣ Bundle the action via ncc
|
||||
- uses: vercel/ncc@v0.34.0
|
||||
with:
|
||||
command: build
|
||||
input: action.js
|
||||
output: dist
|
||||
- name: Bundle the action
|
||||
run: npx @vercel/ncc build action.js -o dist
|
||||
|
||||
# 5️⃣ Commit dist/ back to repo
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
"@semantic-release/release-notes-generator": "^10.0.3",
|
||||
"@types/jest": "^28.1.7",
|
||||
"@types/node": "^18.7.3",
|
||||
"@vercel/ncc": "^0.36.1",
|
||||
"babel-jest": "^28.1.3",
|
||||
"chalk": "^4.1.2",
|
||||
"conventional-changelog-conventionalcommits": "^5.0.0",
|
||||
|
||||
Reference in New Issue
Block a user