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