Adapt the bot to run via Netlify Functions
This commit is contained in:
@@ -3,9 +3,8 @@
|
||||
"version": "1.0.0",
|
||||
"description": "GitHub bot that automatically verifies PRs with new playlist entries",
|
||||
"scripts": {
|
||||
"dev": "ts-node-dev ./run.ts --watch index.ts",
|
||||
"build": "tsc",
|
||||
"start": "node ./dist/run.js"
|
||||
"dev": "netlify dev",
|
||||
"build": "tsc"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -18,6 +17,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/maciejpedzich/mackorone-playlist-pr-bot#readme",
|
||||
"dependencies": {
|
||||
"@probot/adapter-aws-lambda-serverless": "^3.0.3",
|
||||
"metadata-scraper": "^0.2.60",
|
||||
"probot": "^12.2.8"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user