package server

This commit is contained in:
Alex Rodionov 2024-05-30 15:59:24 -07:00
parent f72666c0ba
commit 7d89a268e5
7 changed files with 81951 additions and 4 deletions

2
dist/main/index.js vendored
View file

@ -97049,7 +97049,7 @@ async function startRemoteCacheServer() {
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
const serverProcess = fork(__nccwpck_require__.ab + "remote-cache-server.js", [], {
const serverProcess = fork(path.join(__dirname, 'dist', 'remote-cache-server', 'index.js'), [], {
stdio: ['ignore', log, log, 'ipc']
})
serverProcess.unref()

File diff suppressed because one or more lines are too long

81945
dist/remote-cache-server/index.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/remote-cache-server/index.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -183,7 +183,7 @@ async function startRemoteCacheServer() {
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
const serverProcess = fork(path.join(__dirname, 'remote-cache-server.js'), [], {
const serverProcess = fork(path.join(__dirname, 'dist', 'remote-cache-server', 'index.js'), [], {
stdio: ['ignore', log, log, 'ipc']
})
serverProcess.unref()

View file

@ -7,7 +7,7 @@
"node": "20.x"
},
"scripts": {
"build": "ncc build index.js -s -o dist/main && ncc build post.js -s -o dist/post",
"build": "ncc build index.js -s -o dist/main && ncc build post.js -s -o dist/post && ncc build remote-cache-server.js -s -o dist/remote-cache-server",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Alex Rodionov <p0deje@gmail.com>",