Skip to content

Commit 88697b3

Browse files
authored
chore: bump javascript-api & api-spec versions (fabric8-analytics#819)
* chore: bump javascript-api & api-spec versions * chore: cache downloaded vscode for test
1 parent 1636e04 commit 88697b3

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ jobs:
5151
- name: Lint code
5252
run: npm run lint
5353

54+
- uses: actions/cache@v4
55+
with:
56+
path: .vscode-test
57+
key: ${{ hashFiles('test/runTest.ts') }}
58+
5459
- name: Run headless test
5560
uses: coactions/setup-xvfb@v1
5661
with:

package-lock.json

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@
427427
},
428428
"dependencies": {
429429
"@redhat-developer/vscode-redhat-telemetry": "^0.8.0",
430-
"@trustification/exhort-api-spec": "^1.0.13",
431-
"@trustification/exhort-javascript-api": "^0.2.4-ea.3",
430+
"@trustification/exhort-api-spec": "^1.0.18",
431+
"@trustification/exhort-javascript-api": "^0.2.4-ea.5",
432432
"@xml-tools/ast": "^5.0.5",
433433
"@xml-tools/parser": "^1.0.11",
434434
"cli-table3": "^0.6.5",

test/runTest.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ async function main() {
1414
// The path to the extension test script
1515
// Passed to --extensionTestsPath
1616
const extensionTestsPath = path.resolve(__dirname, './');
17-
const vscodeExecutablePath = await downloadAndUnzipVSCode('1.78.1');
17+
const vscodeExecutablePath = await downloadAndUnzipVSCode({
18+
version: '1.78.1',
19+
timeout: 300000,
20+
});
1821
const cliPath = resolveCliPathFromVSCodeExecutablePath(vscodeExecutablePath);
1922
// Use cp.spawn / cp.exec for custom setup
2023
cp.spawnSync(cliPath, ['--install-extension', 'redhat.vscode-commons'], {

0 commit comments

Comments
 (0)