Update dependency (#94)

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
Divyanshu Agrawal 2024-03-05 18:00:50 +05:30 committed by GitHub
parent ded55cf56a
commit e85426e5e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1250 additions and 6630 deletions

4
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3923
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{ {
"name": "push-to-registry", "name": "push-to-registry",
"version": "0.0.1", "version": "2.0.0",
"description": "Action to push images to registry", "description": "Action to push images to registry",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -13,21 +13,21 @@
"author": "Red Hat", "author": "Red Hat",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.9.1", "@actions/core": "^1.10.1",
"@actions/exec": "^1.1.0", "@actions/exec": "^1.1.1",
"@actions/io": "^1.0.2", "@actions/io": "^1.1.3",
"ini": "^2.0.0" "ini": "^4.1.2"
}, },
"devDependencies": { "devDependencies": {
"@redhat-actions/action-io-generator": "^1.5.0", "@redhat-actions/action-io-generator": "^1.5.0",
"@redhat-actions/eslint-config": "^1.3.2", "@redhat-actions/eslint-config": "^1.3.2",
"@redhat-actions/tsconfig": "^1.1.1", "@redhat-actions/tsconfig": "^1.2.0",
"@types/ini": "^1.3.30", "@types/ini": "^4.1.0",
"@types/node": "^12.12.7", "@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^4.22.0", "@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^4.22.0", "@typescript-eslint/parser": "^7.1.1",
"@vercel/ncc": "^0.25.1", "@vercel/ncc": "^0.38.1",
"eslint": "^7.18.0", "eslint": "^8.57.0",
"typescript": "4.2" "typescript": "5.3"
} }
} }

View file

@ -310,7 +310,9 @@ async function pullImageFromDocker(): Promise<ImageStorageCheckResult> {
} }
} }
catch (err) { catch (err) {
core.warning(err); if (err instanceof Error) {
core.debug(err.message);
}
} }
return { return {
@ -340,7 +342,9 @@ async function checkImageInPodman(): Promise<ImageStorageCheckResult> {
} }
} }
catch (err) { catch (err) {
core.debug(err); if (err instanceof Error) {
core.debug(err.message);
}
} }
return { return {

View file

@ -54,7 +54,9 @@ export async function findFuseOverlayfsPath(): Promise<string | undefined> {
fuseOverlayfsPath = await io.which("fuse-overlayfs"); fuseOverlayfsPath = await io.which("fuse-overlayfs");
} }
catch (err) { catch (err) {
core.debug(err); if (err instanceof Error) {
core.debug(err.message);
}
} }
return fuseOverlayfsPath; return fuseOverlayfsPath;