Actually add @actions/core as a dependency
This commit is contained in:
parent
f3fc93acca
commit
6da4caea15
4 changed files with 16 additions and 5 deletions
2
index.js
2
index.js
|
@ -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
11
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue