diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 1cfa9a9..0000000 --- a/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM node:16-alpine -COPY dist dist -ENTRYPOINT [ "node", "/dist/index.js" ] diff --git a/action.yml b/action.yml index f99a64d..cf9e867 100644 --- a/action.yml +++ b/action.yml @@ -11,9 +11,8 @@ inputs: latitude: required: true runs: - using: docker - image: Dockerfile - # ^^ because we want node 16 so we can use modern features + using: node16 + main: dist/index.js branding: icon: check-square diff --git a/package-lock.json b/package-lock.json index 3f914f2..c093372 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,8 +13,8 @@ "@actions/core": "^1.6.0", "@actions/github": "^5.0.0", "@types/moment": "^2.13.0", - "@types/node": "^16.11.6", - "@vercel/ncc": "^0.32.0", + "@types/node": "^17.0.7", + "@vercel/ncc": "^0.33.1", "ts-node": "^10.3.1", "typescript": "^4.4.3" } @@ -228,9 +228,9 @@ } }, "node_modules/@types/node": { - "version": "16.11.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.9.tgz", - "integrity": "sha512-MKmdASMf3LtPzwLyRrFjtFFZ48cMf8jmX5VRYrDQiJa8Ybu5VAmkqBWqKU8fdCwD8ysw4mQ9nrEHvzg6gunR7A==", + "version": "17.0.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.7.tgz", + "integrity": "sha512-1QUk+WAUD4t8iR+Oj+UgI8oJa6yyxaB8a8pHaC8uqM6RrS1qbL7bf3Pwl5rHv0psm2CuDErgho6v5N+G+5fwtQ==", "dev": true }, "node_modules/@types/node-fetch": { @@ -243,18 +243,18 @@ } }, "node_modules/@vercel/ncc": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.32.0.tgz", - "integrity": "sha512-S/SxTHHTbBQSOutpgnqEn+LyTfZcq9xMRAnzY05HpGVjxjmfmvg6SWZZkbW/GJIFznMmHGeGOrI1MEBD7efIkA==", + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.1.tgz", + "integrity": "sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==", "dev": true, "bin": { "ncc": "dist/ncc/cli.js" } }, "node_modules/acorn": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz", - "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==", + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -451,9 +451,9 @@ } }, "node_modules/typescript": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz", - "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==", + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", + "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -705,9 +705,9 @@ } }, "@types/node": { - "version": "16.11.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.9.tgz", - "integrity": "sha512-MKmdASMf3LtPzwLyRrFjtFFZ48cMf8jmX5VRYrDQiJa8Ybu5VAmkqBWqKU8fdCwD8ysw4mQ9nrEHvzg6gunR7A==", + "version": "17.0.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.7.tgz", + "integrity": "sha512-1QUk+WAUD4t8iR+Oj+UgI8oJa6yyxaB8a8pHaC8uqM6RrS1qbL7bf3Pwl5rHv0psm2CuDErgho6v5N+G+5fwtQ==", "dev": true }, "@types/node-fetch": { @@ -719,15 +719,15 @@ } }, "@vercel/ncc": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.32.0.tgz", - "integrity": "sha512-S/SxTHHTbBQSOutpgnqEn+LyTfZcq9xMRAnzY05HpGVjxjmfmvg6SWZZkbW/GJIFznMmHGeGOrI1MEBD7efIkA==", + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.1.tgz", + "integrity": "sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==", "dev": true }, "acorn": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz", - "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==", + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", "dev": true }, "acorn-walk": { @@ -856,9 +856,9 @@ "dev": true }, "typescript": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz", - "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==", + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", + "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", "dev": true }, "universal-user-agent": { diff --git a/package.json b/package.json index ea74d77..32f2e60 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "@actions/core": "^1.6.0", "@actions/github": "^5.0.0", "@types/moment": "^2.13.0", - "@types/node": "^16.11.6", - "@vercel/ncc": "^0.32.0", + "@types/node": "^17.0.7", + "@vercel/ncc": "^0.33.1", "ts-node": "^10.3.1", "typescript": "^4.4.3" },