From 537862ffdbb15c9a2dde438f532f5dfa65c5e2f7 Mon Sep 17 00:00:00 2001
From: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Date: Mon, 30 Jan 2023 14:47:11 +0100
Subject: [PATCH] Add build config for checkOnly

---
 dist/check-only/index.js | 55 ++++++++++++++++++++++++++++++++++++++++
 package.json             |  2 +-
 src/checkOnly.ts         |  0
 3 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 dist/check-only/index.js
 create mode 100644 src/checkOnly.ts

diff --git a/dist/check-only/index.js b/dist/check-only/index.js
new file mode 100644
index 0000000..706b628
--- /dev/null
+++ b/dist/check-only/index.js
@@ -0,0 +1,55 @@
+module.exports =
+/******/ (function(modules, runtime) { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The module cache
+/******/ 	var installedModules = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/
+/******/ 		// Check if module is in cache
+/******/ 		if(installedModules[moduleId]) {
+/******/ 			return installedModules[moduleId].exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = installedModules[moduleId] = {
+/******/ 			i: moduleId,
+/******/ 			l: false,
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Flag the module as loaded
+/******/ 		module.l = true;
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/******/
+/******/ 	__webpack_require__.ab = __dirname + "/";
+/******/
+/******/ 	// the startup function
+/******/ 	function startup() {
+/******/ 		// Load entry module and return exports
+/******/ 		return __webpack_require__(659);
+/******/ 	};
+/******/
+/******/ 	// run startup
+/******/ 	return startup();
+/******/ })
+/************************************************************************/
+/******/ ({
+
+/***/ 659:
+/***/ (function() {
+
+"use strict";
+
+
+
+/***/ })
+
+/******/ });
\ No newline at end of file
diff --git a/package.json b/package.json
index 6222c78..56a9974 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "description": "Cache dependencies and build outputs",
   "main": "dist/restore/index.js",
   "scripts": {
-    "build": "tsc && ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts && ncc build -o dist/restore-only src/restoreOnly.ts && ncc build -o dist/save-only src/saveOnly.ts",
+    "build": "tsc && ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts && ncc build -o dist/restore-only src/restoreOnly.ts && ncc build -o dist/save-only src/saveOnly.ts && ncc build -o dist/check-only src/checkOnly.ts",
     "test": "tsc --noEmit && jest --coverage",
     "lint": "eslint **/*.ts --cache",
     "format": "prettier --write **/*.ts",
diff --git a/src/checkOnly.ts b/src/checkOnly.ts
new file mode 100644
index 0000000..e69de29