Actually add @actions/core as a dependency

This commit is contained in:
Benjamin Lannon 2021-05-29 11:15:42 -04:00
commit 6da4caea15
4 changed files with 16 additions and 5 deletions

View file

@ -1,7 +1,7 @@
const fs = require("fs");
const path = require("path");
const github = require("@actions/github");
const core = require('@actions/core')
const core = require('@actions/core');
const accessToken = process.env.GITHUB_TOKEN;
const octokit = new github.GitHub(accessToken);

File diff suppressed because one or more lines are too long

11
package-lock.json generated
View file

@ -8,12 +8,18 @@
"version": "2.0.0",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.3.0",
"@actions/github": "^5.0.0"
},
"devDependencies": {
"@vercel/ncc": "^0.28.6"
}
},
"node_modules/@actions/core": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.3.0.tgz",
"integrity": "sha512-xxtX0Cwdhb8LcgatfJkokqT8KzPvcIbwL9xpLU09nOwBzaStbfm0dNncsP0M4us+EpoPdWy7vbzU5vSOH7K6pg=="
},
"node_modules/@actions/github": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",
@ -197,6 +203,11 @@
}
},
"dependencies": {
"@actions/core": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.3.0.tgz",
"integrity": "sha512-xxtX0Cwdhb8LcgatfJkokqT8KzPvcIbwL9xpLU09nOwBzaStbfm0dNncsP0M4us+EpoPdWy7vbzU5vSOH7K6pg=="
},
"@actions/github": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz",

View file

@ -10,8 +10,8 @@
"build": "ncc build index.js -o lib -m"
},
"dependencies": {
"@actions/github": "^5.0.0",
"@actions/core": "^1.3.0"
"@actions/core": "^1.3.0",
"@actions/github": "^5.0.0"
},
"devDependencies": {
"@vercel/ncc": "^0.28.6"