diff --git a/.github/workflows/checkin.yml b/.github/workflows/checkin.yml index e49fa7e..1b745c8 100644 --- a/.github/workflows/checkin.yml +++ b/.github/workflows/checkin.yml @@ -35,6 +35,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: 16 - uses: ./ env: @@ -51,6 +54,9 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: 16 - uses: ./ env: diff --git a/.pnp.js b/.pnp.js index 70c455b..b7ed6ad 100755 --- a/.pnp.js +++ b/.pnp.js @@ -51,7 +51,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], [ "@richnav/rich-code-nav-indexer-core", - "npm:0.1.310-alpha" + "npm:0.1.312-alpha" ], [ "@types/mocha", @@ -98,7 +98,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@actions/github", "npm:5.1.1"], ["@actions/io", "npm:1.1.1"], ["@actions/tool-cache", "npm:1.7.1"], - ["@richnav/rich-code-nav-indexer-core", "npm:0.1.310-alpha"], + ["@richnav/rich-code-nav-indexer-core", "npm:0.1.312-alpha"], ["@types/mocha", "npm:8.0.1"], ["@types/node", "npm:14.0.27"], ["applicationinsights", "npm:1.8.10"], @@ -807,10 +807,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["@richnav/rich-code-nav-indexer-core", [ - ["npm:0.1.310-alpha", { - "packageLocation": "./.yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.310-alpha-dce916b140-c75bac7078.zip/node_modules/@richnav/rich-code-nav-indexer-core/", + ["npm:0.1.312-alpha", { + "packageLocation": "./.yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.312-alpha-ae2303f8f6-6d69d001d4.zip/node_modules/@richnav/rich-code-nav-indexer-core/", "packageDependencies": [ - ["@richnav/rich-code-nav-indexer-core", "npm:0.1.310-alpha"], + ["@richnav/rich-code-nav-indexer-core", "npm:0.1.312-alpha"], ["adm-zip", "npm:0.5.9"], ["applicationinsights", "npm:1.8.10"], ["axios", "npm:0.26.1"], @@ -3266,7 +3266,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@actions/github", "npm:5.1.1"], ["@actions/io", "npm:1.1.1"], ["@actions/tool-cache", "npm:1.7.1"], - ["@richnav/rich-code-nav-indexer-core", "npm:0.1.310-alpha"], + ["@richnav/rich-code-nav-indexer-core", "npm:0.1.312-alpha"], ["@types/mocha", "npm:8.0.1"], ["@types/node", "npm:14.0.27"], ["applicationinsights", "npm:1.8.10"], diff --git a/.yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.310-alpha-dce916b140-c75bac7078.zip b/.yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.312-alpha-ae2303f8f6-6d69d001d4.zip similarity index 93% rename from .yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.310-alpha-dce916b140-c75bac7078.zip rename to .yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.312-alpha-ae2303f8f6-6d69d001d4.zip index d61cb54..7ea020e 100644 Binary files a/.yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.310-alpha-dce916b140-c75bac7078.zip and b/.yarn/cache/@richnav-rich-code-nav-indexer-core-npm-0.1.312-alpha-ae2303f8f6-6d69d001d4.zip differ diff --git a/lib/main.js b/lib/main.js index 3376c3e..139290a 100644 --- a/lib/main.js +++ b/lib/main.js @@ -25,7 +25,7 @@ const cloudbuild_task_github_actions_1 = require("cloudbuild-task-github-actions const github = __importStar(require("@actions/github")); class GitHubCachingTask extends rich_code_nav_indexer_core_1.CachingTask { constructor(cloudTask, apiTokens) { - super(cloudTask, { pipelineHost: "GitHub Actions", buildId: github.context.runId.toString(), buildDefinitionId: github.context.workflow }, apiTokens); + super(cloudTask, { pipelineHost: "GitHub Actions", buildId: github.context.runId.toString(), buildDefinitionId: github.context.workflow }, false, apiTokens); } getSourceControlInformationProvider(languageInput) { var _a; diff --git a/lib/main.js.map b/lib/main.js.map index 77755bd..090e659 100644 --- a/lib/main.js.map +++ b/lib/main.js.map @@ -1 +1 @@ -{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,oFAAkF;AAClF,mFAAyD;AACzD,wDAA0C;AAE1C,MAAM,iBAAkB,SAAQ,wCAAW;IAC1C,YAAY,SAAS,EAAE,SAAS;QAC/B,KAAK,CAAC,SAAS,EACd,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,iBAAiB,EAAE,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAC,EACvH,SAAS,CAAC,CAAC;IACb,CAAC;IAES,mCAAmC,CAAC,aAAkC;;QAC/E,MAAM,SAAS,SAAG,wCAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,mCAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;QAClF,OAAO,IAAI,2CAAc,CAAC,wCAAO,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAC9D,CAAC;CACD;AAED,MAAM,iBAAiB,SAAG,wCAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,mCAAI,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;AAChG,IAAI,iBAAiB,CACpB,wCAAO,EACP;IACC,iBAAiB,EAAE,iBAAiB;IAGpC,mBAAmB,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB;CACrD,CAAC,CAAC,GAAG,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,oFAAkF;AAClF,mFAAyD;AACzD,wDAA0C;AAE1C,MAAM,iBAAkB,SAAQ,wCAAW;IAC1C,YAAY,SAAS,EAAE,SAAS;QAC/B,KAAK,CAAC,SAAS,EACd,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,iBAAiB,EAAE,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAC,EACtH,KAAK,EACL,SAAS,CAAC,CAAC;IACd,CAAC;IAES,mCAAmC,CAAC,aAAkC;;QAC/E,MAAM,SAAS,SAAG,wCAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,mCAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;QAClF,OAAO,IAAI,2CAAc,CAAC,wCAAO,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAC9D,CAAC;CACD;AAED,MAAM,iBAAiB,SAAG,wCAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,mCAAI,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;AAChG,IAAI,iBAAiB,CACpB,wCAAO,EACP;IACC,iBAAiB,EAAE,iBAAiB;IAGpC,mBAAmB,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB;CACrD,CAAC,CAAC,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index d87d9a4..639a141 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@actions/github": "^5.1.1", "@actions/io": "^1.1.0", "@actions/tool-cache": "^1.6.1", - "@richnav/rich-code-nav-indexer-core": "^0.1.310-alpha", + "@richnav/rich-code-nav-indexer-core": "^0.1.312-alpha", "applicationinsights": "^1.8.10", "cloudbuild-task-github-actions": "^0.1.105-beta" }, diff --git a/src/main.ts b/src/main.ts index 1b902bd..a8db4aa 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,7 +7,8 @@ class GitHubCachingTask extends CachingTask { constructor(cloudTask, apiTokens) { super(cloudTask, { pipelineHost: "GitHub Actions", buildId: github.context.runId.toString(), buildDefinitionId: github.context.workflow}, - apiTokens); + false, /* isExternal */ + apiTokens); } protected getSourceControlInformationProvider(languageInput?: string | undefined): indexCore.BaseRepoInfo { diff --git a/yarn.lock b/yarn.lock index 240c31b..905f09f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -643,9 +643,9 @@ __metadata: languageName: node linkType: hard -"@richnav/rich-code-nav-indexer-core@npm:^0.1.310-alpha": - version: 0.1.310-alpha - resolution: "@richnav/rich-code-nav-indexer-core@npm:0.1.310-alpha" +"@richnav/rich-code-nav-indexer-core@npm:^0.1.312-alpha": + version: 0.1.312-alpha + resolution: "@richnav/rich-code-nav-indexer-core@npm:0.1.312-alpha" dependencies: adm-zip: ^0.5.9 applicationinsights: ^1.2.0 @@ -661,7 +661,7 @@ __metadata: stream-buffers: ^3.0.2 uuid: ^8.3.1 which: ^2.0.2 - checksum: c75bac707844eae6bbee78c625ae5117764817c7469a15dac2cd88c177b73ae54d7c2b507bce560f81352a405ef6369c63e47c65a5339aa28ef76012dd63e1c0 + checksum: 6d69d001d4d34030f218aadcc5ec096be617ea9c7ffe7f5a9f140fea0cf5232e6d794ae9165bd3141668b811e2f54799cf10fc595428260b73fb9133a9386a7b languageName: node linkType: hard @@ -2826,7 +2826,7 @@ resolve@^1.3.2: "@actions/github": ^5.1.1 "@actions/io": ^1.1.0 "@actions/tool-cache": ^1.6.1 - "@richnav/rich-code-nav-indexer-core": ^0.1.310-alpha + "@richnav/rich-code-nav-indexer-core": ^0.1.312-alpha "@types/mocha": ^8.0.1 "@types/node": ^14.0.27 applicationinsights: ^1.8.10