Skip to content

Commit 0a9dff4

Browse files
authored
Merge branch 'main' into add-aggregate-functions-snippets
2 parents 73635f0 + b6fcbc1 commit 0a9dff4

File tree

12 files changed

+2260
-59
lines changed

12 files changed

+2260
-59
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ jobs:
77
name: Release and publish
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2
1111
with:
12-
fetch-depth: 1
12+
node-version: '16'
13+
- uses: actions/checkout@v2
14+
1315
- run: npm install
1416

15-
- run: npm install -g vsce
16-
- name: Create build
17-
run: npm run package
18-
19-
- name: Upload build
20-
uses: actions/upload-artifact@v2
21-
with:
22-
name: vscode-db2i-release-build
23-
path: ./*.vsix
17+
- run: npm install -g vsce ovsx
18+
19+
- name: Publish to Marketplace
20+
run: vsce publish -p $PUBLISHER_TOKEN
21+
env:
22+
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
23+
24+
- name: Publish to Open VSX
25+
run: npx ovsx publish -p ${{ secrets.OPENVSX_TOKEN }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
.vscode-test/
33
*.vsix
4-
.DS_Store
4+
.DS_Store
5+
dist

.vscode/launch.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,27 @@
66
"version": "0.2.0",
77
"configurations": [
88
{
9-
"name": "Run Extension",
10-
"type": "extensionHost",
9+
"name": "Launch Tests",
10+
"program": "${workspaceFolder}/tests/index.js",
1111
"request": "launch",
12-
"args": [
13-
"--extensionDevelopmentPath=${workspaceFolder}"
14-
]
12+
"skipFiles": [
13+
"<node_internals>/**"
14+
],
15+
"type": "pwa-node"
1516
},
1617
{
17-
"name": "Extension Tests",
18+
"name": "Run Extension",
1819
"type": "extensionHost",
1920
"request": "launch",
2021
"args": [
21-
"--extensionDevelopmentPath=${workspaceFolder}",
22-
"--extensionTestsPath=${workspaceFolder}/test/suite/index"
23-
]
24-
}
22+
"--extensionDevelopmentPath=${workspaceFolder}"
23+
],
24+
"outFiles": [
25+
"${workspaceFolder}/dist/**/*.js"
26+
],
27+
"preLaunchTask": "npm: webpack",
28+
"sourceMaps": true
29+
},
30+
2531
]
2632
}

.vscodeignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ vsc-extension-quickstart.md
77
**/jsconfig.json
88
**/*.map
99
**/.eslintrc.json
10-
media/**
10+
media/**
11+
node_modules
12+
src

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vscode-db2i
22

3-
Db2 for IBM i tools provides SQL functionality to VS Code. It is in preview right now.
3+
Db2 for IBM i tools provides SQL functionality to VS Code. **It is in preview right now**.
44

55
* Schemas view
66
* Language tools. List tables and views and their columns when writing SQL, as well as procedures and functions

0 commit comments

Comments
 (0)