Skip to content

Commit 4db407f

Browse files
committed
chore(extension): setup CI to check that it typecheck and build
1 parent d22403d commit 4db407f

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,15 @@ jobs:
4747
run: |
4848
pnpm run docs:build
4949
pnpm run demo:build
50+
51+
extension:
52+
name: VSCode Extension
53+
runs-on: ubuntu-latest
54+
steps:
55+
- name: Checkout
56+
uses: actions/checkout@v4
57+
58+
- uses: ./.github/actions/setup-and-build
59+
- name: Build extension
60+
run: |
61+
pnpm run extension:build

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"__dev": "pnpm run esbuild-base -- --sourcemap --watch",
110110
"__vscode:prepublish": "pnpm run esbuild-base -- --minify",
111111
"__build": "vsce package",
112-
"compile": "pnpm run check-types && node build.mjs",
112+
"build": "pnpm run check-types && node build.mjs",
113113
"check-types": "tsc --noEmit",
114114
"dev": "node build.mjs --watch",
115115
"vscode:prepublish": "pnpm run package",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"clean": "./scripts/clean.sh",
77
"prepare": "is-ci || husky install",
88
"extension:dev": "pnpm run --filter=tutorialkit-vscode dev",
9+
"extension:build": "pnpm run --filter=tutorialkit-vscode build",
910
"template:dev": "TUTORIALKIT_DEV=true pnpm run build && pnpm run --filter=tutorialkit-starter dev",
1011
"template:build": "pnpm run build && pnpm run --filter=tutorialkit-starter build",
1112
"cli:build-release": "pnpm run --filter=tutorialkit build-release",

0 commit comments

Comments
 (0)