Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit dcbd6ec

Browse files
authored
fix: upgrade @xml-tools/parser to 1.0.9 (#178)
1 parent fdeba3a commit dcbd6ec

File tree

4 files changed

+23
-21
lines changed

4 files changed

+23
-21
lines changed

.github/workflows/ci-build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
run: npm install
2323
- name: Build
2424
run: npm run build
25+
- name: Invoke LSP entrypoint(server.js)
26+
run: node output/server.js
2527
- name: Run the unit tests
2628
run: npm test -- --coverage
2729
- name: Upload coverage to Codecov
@@ -42,6 +44,9 @@ jobs:
4244
run: npm install
4345
- name: Build
4446
run: npm run build
47+
- name: Create local package tarball
48+
run: npm pack
49+
working-directory: output
4550
- name: pull vscode-extension code
4651
uses: actions/checkout@v2
4752
with:
@@ -53,14 +58,17 @@ jobs:
5358
run: npm ci
5459
working-directory: ./vscode-extension
5560
- name: Install local lsp
56-
run: npm i ../output
61+
run: npm i ../output/fabric8-analytics-lsp-server-*.tgz
5762
working-directory: ./vscode-extension
5863
- name: Remove test files
5964
run: rm -fr test
6065
working-directory: ./vscode-extension
6166
- name: VSCE prepublish
6267
run: vsce package
6368
working-directory: ./vscode-extension
69+
- name: Invoke LSP entrypoint(server.js)
70+
run: node dist/server.js
71+
working-directory: ./vscode-extension
6472
- name: Upload build artifacts
6573
uses: actions/upload-artifact@v2
6674
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ output/
4343
# generated tarball and publishing scripts
4444
target/
4545
*.tar
46+
*.tgz
4647
.history

package-lock.json

Lines changed: 11 additions & 18 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
@@ -30,8 +30,8 @@
3030
"url": "https://github.com/fabric8-analytics/fabric8-analytics-lsp-server.git"
3131
},
3232
"dependencies": {
33-
"@xml-tools/ast": "^5.0.0",
34-
"@xml-tools/parser": "^1.0.7",
33+
"@xml-tools/ast": "5.0.0",
34+
"@xml-tools/parser": "1.0.9",
3535
"compare-versions": "3.6.0",
3636
"json-to-ast": "^2.1.0",
3737
"lru-cache": "^6.0.0",

0 commit comments

Comments
 (0)